Fixed a few indentation errors and a missing colon. #62

Open
wants to merge 3 commits into
from

Conversation

Projects
None yet
2 participants

Line 177: colon missing from else statement

A few indentation errors fixed, also.

Finally, I modified the README slightly to make it a little easier to read.

I had to comment out checkforUpdate() in order to get the script to work. Without commenting, I was getting the following error message:

Traceback (most recent call last):
File "./raspiwrite.py", line 440, in
checkforUpdate()
File "./raspiwrite.py", line 68, in checkforUpdate
dom = parseString(data)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/dom/minidom.py", line 1924, in parseString
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/dom/expatbuilder.py", line 940, in parseString
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/dom/expatbuilder.py", line 223, in parseString
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 14, column 59

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