Fixed a type casting bug in comet dates
git-svn-id: http://comictagger.googlecode.com/svn/trunk@237 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
parent
8af7651a50
commit
5b8f73528b
4
comet.py
4
comet.py
@ -109,9 +109,9 @@ class CoMet:
|
||||
|
||||
date_str = ""
|
||||
if md.year is not None:
|
||||
date_str = md.year.zfill(4)
|
||||
date_str = str(md.year).zfill(4)
|
||||
if md.month is not None:
|
||||
date_str += "-" + md.month.zfill(2)
|
||||
date_str += "-" + str(md.month).zfill(2)
|
||||
assign( 'date', date_str )
|
||||
|
||||
#assign( 'coverImage', md.??? ) #TODO Need to use pages list, eventually...
|
||||
|
Loading…
x
Reference in New Issue
Block a user