Skip to content

Commit db04b97

Browse files
committed
Updated as proposed in the previous pull request.
1 parent a297dba commit db04b97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyres/scripts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def pyres_worker():
121121
if interval is not None:
122122
interval = int(interval)
123123

124-
timeout = options.timeout is None and options.timeout or int(options.timeout)
124+
timeout = options.timeout and int(options.timeout)
125125

126126
queues = args[0].split(',')
127127
server = '%s:%s' % (options.host,options.port)

0 commit comments

Comments
 (0)