Mercurial > getan
changeset 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 | cf0406ed424a |
children | 0fd096670ae7 |
files | scripts/zeiterfassung.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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: