Mercurial > getan
diff scripts/zeiterfassung.py @ 386:b8cd8751cba0
Fix: year must be an int in template.render function
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Tue, 06 Jan 2015 10:18:44 +0100 |
parents | 20fde79f8e12 |
children | 617ced8c7a40 |
line wrap: on
line diff
--- a/scripts/zeiterfassung.py Mon Jan 05 11:07:39 2015 +0100 +++ b/scripts/zeiterfassung.py Tue Jan 06 10:18:44 2015 +0100 @@ -76,7 +76,7 @@ elif opt in ("--list", "-l"): list_projects = True elif opt in ("--year", "-y"): - year = val + year = int(val) elif opt in ("--week", "-w"): week = int(val) elif opt in ("--lastweek", "-c") and not week: