Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax error in script #78

Open
brandondrew opened this issue Jul 9, 2014 · 1 comment
Open

Syntax error in script #78

brandondrew opened this issue Jul 9, 2014 · 1 comment

Comments

@brandondrew
Copy link

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.

@brandondrew
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant