summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/__main__.py b/src/__main__.py
index 669479a..31ff63f 100755
--- a/src/__main__.py
+++ b/src/__main__.py
@@ -244,7 +244,7 @@ def continuous_run():
except KeyboardInterrupt:
signal_SIGTERM(0, None)
def sleep(seconds):
- if not sleep == 0:
+ if not seconds == 0:
try:
with sleep_condition:
signal.setitimer(signal.ITIMER_REAL, seconds)