diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-02-22 13:10:57 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-02-22 13:10:57 +0100 |
commit | 93356b66ac8fdd9a18889ebab5a90ddefa6976e1 (patch) | |
tree | b4fc784be3cef278ad5f35007ba1e02ee6ef8306 /src/__main__.py | |
parent | support C-c in one shot mode (diff) | |
download | blueshift-93356b66ac8fdd9a18889ebab5a90ddefa6976e1.tar.gz blueshift-93356b66ac8fdd9a18889ebab5a90ddefa6976e1.tar.bz2 blueshift-93356b66ac8fdd9a18889ebab5a90ddefa6976e1.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/__main__.py')
-rwxr-xr-x | src/__main__.py | 4 |
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) |