Skip to content

Commit 24dabcc

Browse files
committed
fix varibright detection on windows
1 parent 8ce0e9a commit 24dabcc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

monome.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def __init__(self, prefix='monome'):
125125
self.ready_event.add_handler(self._set_varibright)
126126

127127
def _set_varibright(self):
128-
if not re.match('^m\d+$', self.id):
128+
if not re.match(r'^m\d+$', self.id, flags=re.IGNORECASE):
129129
self.varibright = False
130130

131131
def _on_grid_key(self, addr, path, x, y, s):

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
url='https://github.com/artfwo/pymonome',
1313
description='a monome serialosc client in python',
1414
long_description=long_description,
15-
version='0.11',
15+
version='0.11.1',
1616
py_modules=['monome'],
1717
include_package_data=True,
1818
install_requires=[

0 commit comments

Comments
 (0)