summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbrightness.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/brightness.py b/brightness.py
index a88e2f8..9427ae9 100755
--- a/brightness.py
+++ b/brightness.py
@@ -66,7 +66,7 @@ def set_current_brightness(value):
(e.g. +10%).
'''
- matches = re.fullmatch('([+-])?(\d+)(%)?', value)
+ matches = re.fullmatch(r'([+-])?(\d+)(%)?', value)
if matches is None:
raise ValueError()