alexthescott/ePaper-Spotify-Clock

Error in new mainSpotifyEPD.py

Closed this issue · 2 comments

Hey,

after updating the mainSpotifyEPD.py to your newest released version, I doesn't run.
That's the error message:

root@raspberrypi:~# bash launch_epaper.sh
File "mainSpotifyEPD.py", line 316
URL_UNITS = "&units=metric" if metric_units else url_units = "&units=imperial"
^
SyntaxError: can't assign to conditional expression

Just pushed another update fixing that conditional statement!