Bug fix: Create a working pesterchum.js file if one does not exist

This commit is contained in:
Kiooeht 2011-05-13 08:01:09 -07:00
parent 6b1ade8c4a
commit 5904843d38

View file

@ -43,6 +43,7 @@ else:
os.mkdir("profiles") os.mkdir("profiles")
if not os.path.exists("pesterchum.js"): if not os.path.exists("pesterchum.js"):
f = open("pesterchum.js", 'w') f = open("pesterchum.js", 'w')
f.write("{}")
f.close() f.close()
class waitingMessageHolder(object): class waitingMessageHolder(object):