I get this error dialogue message when visiting the above page:
"TimeSheet undefined list assignment index out of range"
Along with the following in-page error, once the data has been
imported:
"JavaScript Error: uncaught exception: list assignment index out of
range at line number 0. Please inform webmaster."
It looks quite nice, though.
Paul
DOH! someone assuming javascript-isms in lists, and the compiler's
been improved to ban them
...
self.date = None
...
...
print 'setEntries:', entries
try:
#tt = time.localtime(time.time())
- tt = []
- tt[0] = int(self.date[:4])
- tt[1] = int(self.date[4:6])
- tt[2] = int(self.date[6:8])
+ tt = [0] * 9
+ if self.date:
+ tt[0] = int(self.date[:4])
+ tt[1] = int(self.date[4:6])
+ tt[2] = int(self.date[6:8])
tt[3] = 0
tt[4] = 0
tt[5] = 0