diff --git a/monome.py b/monome.py index 4886364..8d76ebc 100644 --- a/monome.py +++ b/monome.py @@ -125,7 +125,7 @@ def __init__(self, prefix='monome'): self.ready_event.add_handler(self._set_varibright) def _set_varibright(self): - if not re.match('^m\d+$', self.id): + if not re.match(r'^m\d+$', self.id, flags=re.IGNORECASE): self.varibright = False def _on_grid_key(self, addr, path, x, y, s): diff --git a/setup.py b/setup.py index 971e18f..a219eeb 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ url='https://github.com/artfwo/pymonome', description='a monome serialosc client in python', long_description=long_description, - version='0.11', + version='0.11.1', py_modules=['monome'], include_package_data=True, install_requires=[