From 009897e32330c8f30d21118e3c2bbb848c9344e0 Mon Sep 17 00:00:00 2001 From: greg Date: Fri, 25 Nov 2005 20:08:20 +0000 Subject: [PATCH] correct total item count, add shebang line git-svn-id: file:///home/svn/ljdump/trunk@7 7994a137-d0a5-da11-ade6-0050bffea3d9 --- ljdump.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ljdump.py b/ljdump.py index 67e1851..29df3de 100755 --- a/ljdump.py +++ b/ljdump.py @@ -1,7 +1,8 @@ +#!/usr/bin/python # # ljdump.py - livejournal archiver # Greg Hewgill http://hewgill.com -# Version 1.0 +# Version 1.0.1 # # $Id$ # @@ -119,8 +120,8 @@ while True: print "Error getting item: %s" % item['item'] pprint.pprint(x) errors += 1 + total += 1 last = item['time'] - total += 1 print "%d total entries" % total print "%d fetched entries" % fetched if errors > 0: -- 2.39.5