From 93356b66ac8fdd9a18889ebab5a90ddefa6976e1 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 22 Feb 2014 13:10:57 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/__main__.py | 4 ++-- 1 file 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) -- cgit v1.2.3-70-g09d2