Skip to content
Browse files

Don't change the path at every loop cycle.

  • Loading branch information...
1 parent ff5ba92 commit becd18a3e4ecff7d037a4c1fae0c3340b00e803c @e98cuenc e98cuenc committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 superlance/httpok.py
View
6 superlance/httpok.py
@@ -142,6 +142,9 @@ def runforever(self, test=False):
path = parsed[2]
query = parsed[3]
+ if query:
+ path += '?' + query
+
if self.connclass:
ConnClass = self.connclass
elif scheme == 'http':
@@ -166,9 +169,6 @@ def runforever(self, test=False):
conn = ConnClass(hostport)
conn.timeout = self.timeout
- if query:
- path += '?' + query
-
act = False
specs = self.listProcesses(ProcessStates.RUNNING)

0 comments on commit becd18a

Please sign in to comment.
Something went wrong with that request. Please try again.