summaryrefslogtreecommitdiffstats
path: root/src/monitor.py
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-03-27 23:59:39 +0100
committerMattias Andrée <maandree@operamail.com>2014-03-27 23:59:39 +0100
commitbe19ac7cb8638d9a751f5ea32e2722d99604af85 (patch)
treed1b40cf570ff250c122e4e0981fbb06589963076 /src/monitor.py
parentdoc + make it possible to select download command for weather (diff)
downloadblueshift-be19ac7cb8638d9a751f5ea32e2722d99604af85.tar.gz
blueshift-be19ac7cb8638d9a751f5ea32e2722d99604af85.tar.bz2
blueshift-be19ac7cb8638d9a751f5ea32e2722d99604af85.tar.xz
doc
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/monitor.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/monitor.py b/src/monitor.py
index 499864f..470335c 100644
--- a/src/monitor.py
+++ b/src/monitor.py
@@ -21,6 +21,7 @@ from subprocess import Popen, PIPE
from aux import *
from curve import *
+
# /usr/lib
LIBDIR = 'bin'
sys.path.append(LIBDIR)
@@ -31,12 +32,14 @@ LIBEXECDIR = 'bin'
randr_opened = None
vidmode_opened = None
+
try:
from blueshift_drm import *
except:
pass ## Not compiled with DRM support
+
def close_c_bindings():
'''
Close all C bindings and let them free resources and close connections