- Handle userpic keywords with non-ASCII characters
- Download and save userpic images
+- Handle unexpected empty item
Version 1.2 - 2006-09-08
'selecttype': "one",
'itemid': item['item'][2:],
}, Password))
- writedump("%s/%s" % (Username, item['item']), e['events'][0])
- newentries += 1
+ if e['events']:
+ writedump("%s/%s" % (Username, item['item']), e['events'][0])
+ newentries += 1
+ else:
+ print "Unexpected empty item: %s" % item['item']
+ errors += 1
except xmlrpclib.Fault, x:
print "Error getting item: %s" % item['item']
pprint.pprint(x)