jeffmer / TTGO-T-watch-2020-Micropython-OS

All micropython watch software for TTGO T-watch 2020 V1, V2 & V3
The Unlicense
22 stars 6 forks source link

mpy-cross reports invalid syntax in wifi.py, line 26 #12

Closed DonvdH closed 1 year ago

DonvdH commented 1 year ago

mpy-cross reports a syntax error in wifi.py, line 26:

mpy-cross -march=xtensawin ./wifi.py
Traceback (most recent call last):
File "./wifi.py", line 26
SyntaxError: invalid syntax

wifi.py contains an 'else' statement following an 'else' statement.

Looking at the code, lines 26 and 27 need to be removed.

thiswillbeyourgithub commented 1 year ago

I am the culprit i think. I noticed that mistake in my personnal fork and forgot to update here. I'm sorry!

DonvdH commented 1 year ago

No problem at all, thanks for your efforts and the quick resolution! :)