Anders-Holst / xled_plus

Addons to the XLED package, to create nice effects for Twinkly LED lights
MIT License
32 stars 7 forks source link

SyntaxError: '(' was never closed #27

Closed fpaniagua closed 6 months ago

fpaniagua commented 6 months ago

Recently updated xled_plus, got the following error:

...
    from xled_plus.multicontrol import MultiHighControlInterface
  File "/.../site-packages/xled_plus/multicontrol.py", line 60
    self.max_movies = min([info["max_movies"] if "max_movies" in info else 15 for info in infolst]
                         ^
SyntaxError: '(' was never closed

https://github.com/Anders-Holst/xled_plus/blob/1123dddb2ba38ed41a6906e69230744e2e184368/xled_plus/multicontrol.py#L60

Manually adding the closing ) seems to allow the effect to work.

Anders-Holst commented 6 months ago

Yes, very embarrassing, I managed to check in the wrong version of the file. Fixed now, in a new release.