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

Already on GitHub? Sign in to your account

Update raspiwrite.py #64

Open
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

I got the following errors:

- File "./raspiwrite.py", line 177
    else
       ^
  SyntaxError: invalid syntax

- File "./raspiwrite.py", line 275
    SDsnip =  SD.replace(' ', '')[:-1]
         ^
  IndentationError: expected an indented block

So i added the ":" after the else on line 177, corrected the indentation level on line 275 and 278.

Update raspiwrite.py
I got the following errors:

- File "./raspiwrite.py", line 177
    else
       ^
  SyntaxError: invalid syntax

- File "./raspiwrite.py", line 275
    SDsnip =  SD.replace(' ', '')[:-1]
         ^
  IndentationError: expected an indented block

So i added the ":" after the else on line 177, corrected the indentation level on line 275 and 278.

This sounds like a useful tool, but it seems to not be supported any longer. After fixing the syntax and indentation errors mentioned above, the xml parser fails trying to parse http://www.exaviorn.com/raspiwrite.xml, which is not surprising since that domain is now up for sale. So using the Unix dd command as described on the Ras Pi Downloads page is the way to go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment