diff options
Diffstat (limited to 'brightness.py')
-rwxr-xr-x | brightness.py | 2 |
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() |