diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-02-16 19:19:36 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-02-16 19:19:36 +0100 |
commit | a7ab7860a57cdd41944355a400f62581f8b19d03 (patch) | |
tree | 532e3e68540102655e16f212386ff1fcf3440e31 /src/__main__.py | |
parent | c binding (diff) | |
download | blueshift-a7ab7860a57cdd41944355a400f62581f8b19d03.tar.gz blueshift-a7ab7860a57cdd41944355a400f62581f8b19d03.tar.bz2 blueshift-a7ab7860a57cdd41944355a400f62581f8b19d03.tar.xz |
use randr
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rwxr-xr-x | src/__main__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/__main__.py b/src/__main__.py index 400c675..f8db7a2 100755 --- a/src/__main__.py +++ b/src/__main__.py @@ -150,7 +150,6 @@ if config_file is not None: code = code.decode('utf8', 'error') + '\n' code = compile(code, file, 'exec') exec(code, globals) - break else: print('No configuration file found') sys.exit(1) @@ -168,6 +167,7 @@ if periodically is not None: running = False start_over() monitor_controller() + close_c_bindings() sys.exit(0) running = False signal.signal(signal.SIGTERM, signal_SIGTERM) @@ -205,3 +205,5 @@ if periodically is not None: start_over() monitor_controller() +close_c_bindings() + |