diff options
author | Olivier Gayot <olivier.gayot@sigexec.com> | 2022-01-04 23:56:30 +0100 |
---|---|---|
committer | Olivier Gayot <olivier.gayot@sigexec.com> | 2022-01-04 23:56:30 +0100 |
commit | dfaa8c9903bc19f3b01426de87052505c2f6fc4e (patch) | |
tree | a275207188fd50e52b021181f50f1273b634e63e /brightness.py | |
parent | 1dc27b05863912170b7dc8f585023b3b99958a55 (diff) |
Signed-off-by: Olivier Gayot <olivier.gayot@sigexec.com>
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() |