summaryrefslogtreecommitdiff
path: root/py/gamma.py
diff options
context:
space:
mode:
Diffstat (limited to 'py/gamma.py')
-rw-r--r--py/gamma.py8
1 files changed, 2 insertions, 6 deletions
diff --git a/py/gamma.py b/py/gamma.py
index c8da18f..7ecd19d 100644
--- a/py/gamma.py
+++ b/py/gamma.py
@@ -32,14 +32,10 @@ for i in range(256):
gamma = pykms.Blob(card, arr);
-set_props(crtc, {
- "GAMMA_LUT": gamma.id,
-})
+set_prop(crtc, "GAMMA_LUT", gamma.id)
input("press enter to remove gamma\n")
-set_props(crtc, {
- "GAMMA_LUT": 0,
-})
+set_prop(crtc, "GAMMA_LUT", 0)
input("press enter to exit\n")