summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-03-16 02:44:54 +0100
committerMattias Andrée <maandree@operamail.com>2014-03-16 02:44:54 +0100
commit6fc426d33d3ed0198f3a76ab5164c045ab7c5f08 (patch)
treebd201141be00265d0194db4e268d7536fa7bd7c5 /src
parentm doc (diff)
downloadblueshift-6fc426d33d3ed0198f3a76ab5164c045ab7c5f08.tar.gz
blueshift-6fc426d33d3ed0198f3a76ab5164c045ab7c5f08.tar.bz2
blueshift-6fc426d33d3ed0198f3a76ab5164c045ab7c5f08.tar.xz
derp1.11
Signed-off-by: Mattias Andrée <maandree@operamail.com>
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)