git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrefresh6
1 files changed, 2 insertions, 4 deletions
diff --git a/refresh b/refresh
index f6b5cc4..7f372ef 100755
--- a/refresh
+++ b/refresh
@@ -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))