summaryrefslogtreecommitdiffstats
path: root/src/monitor.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/monitor.py')
-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