Mercurial > hg > cc > cirrus_work
changeset 168:f95858689037
fix output year
author | Henry S. Thompson <ht@inf.ed.ac.uk> |
---|---|
date | Thu, 02 Nov 2023 15:38:39 +0000 |
parents | e1881804855f |
children | 28c0e0b2ac94 |
files | bin/by_year.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bin/by_year.py Thu Nov 02 13:49:02 2023 +0000 +++ b/bin/by_year.py Thu Nov 02 15:38:39 2023 +0000 @@ -16,7 +16,7 @@ if not os.access(outdir,os.F_OK): os.mkdir(outdir) -origin = float(origin) +origin = int(origin) current = origin is_first = True with open(year_file,'r') as years, open(in_file,'r') as stamped: