#
# ljdump.py - livejournal archiver
# Greg Hewgill <greg@hewgill.com> http://hewgill.com
-# Version 1.4
+# Version 1.5
#
# LICENSE
#
print "*** Error fetching comment meta, possibly not community maintainer?"
break
finally:
- r.close()
+ try:
+ r.close()
+ except AttributeError: # r is sometimes a dict for unknown reasons
+ pass
for c in meta.getElementsByTagName("comment"):
id = int(c.getAttribute("id"))
metacache[id] = {
ljdump(server, username, password, journal)
else:
ljdump(server, username, password, username)
+# vim:ts=4 et: