You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
curl https://raw.githubusercontent.com/exaviorn/RasPiWrite/master/raspiwrite.py | python
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 19000 100 19000 0 0 7354 0 0:00:02 0:00:02 --:--:-- 7352
File "<stdin>", line 177
else
^
SyntaxError: invalid syntax
I tried fixing it but I'm not a Pythonista. I added (what I took to be) the missing : but then there was some indentation error that didn't make any sense to me.
The text was updated successfully, but these errors were encountered:
If I had to guess, I'd say that the class transferInBackground line was added as an afterthought and all the indentation for the methods in that class were never properly fixed. But that's just a guess.
I tried fixing it but I'm not a Pythonista. I added (what I took to be) the missing
:
but then there was some indentation error that didn't make any sense to me.The text was updated successfully, but these errors were encountered: