diff options
-rwxr-xr-x | refresh | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -116,11 +116,9 @@ def main(args): if args.year != None and args.year != []: year = args.year else: - now = datetime.now() year = [datetime.now().year] - year = unicode(year) - for i in args.locale: - for j in args.year: + for i in locode: + for j in year: sys.stdout.write("Fetching holiday data from holidata.net... (%s, %s)" % (i, j)) sys.stdout.flush() lines = hfetch(unicode(i), unicode(j)) |