summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/__main__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/__main__.py b/src/__main__.py
index 27c025e..f189e16 100755
--- a/src/__main__.py
+++ b/src/__main__.py
@@ -417,9 +417,9 @@ if (config_file is None) and any([doreset, location] + settings):
signal.signal(signal.SIGTERM, signal_SIGTERM)
trans = 0
while running:
- apply(alpha(), trans if doreset else 1 - trans)
- trans += 0.05
try:
+ apply(alpha(), trans if doreset else 1 - trans)
+ trans += 0.05
time.sleep(0.1)
except KeyboardInterrupt:
signal_SIGTERM(0, None)