Skip to content

Commit

Permalink
fix varibright detection on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
artfwo committed Jan 5, 2024
1 parent 8ce0e9a commit 24dabcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion monome.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=[
Expand Down

0 comments on commit 24dabcc

Please sign in to comment.