Skip to content

Syntax error in script #78

@brandonzylstra

Description

@brandonzylstra
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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions