added support for retaining the new CR "day" field in the metadata

git-svn-id: http://comictagger.googlecode.com/svn/trunk@522 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
beville@gmail.com 2013-02-19 01:50:53 +00:00
parent cf63bfda9d
commit 782d424392
2 changed files with 6 additions and 2 deletions

View File

@ -103,7 +103,7 @@ class ComicInfoXml:
assign( 'Notes', md.notes )
assign( 'Year', md.year )
assign( 'Month', md.month )
#assign( 'Day', md.day )
assign( 'Day', md.day )
# need to specially process the credits, since they are structured differently than CIX
credit_writer_list = list()
@ -230,6 +230,7 @@ class ComicInfoXml:
md.notes = xlate( 'Notes' )
md.year = xlate( 'Year' )
md.month = xlate( 'Month' )
md.day = xlate( 'Day' )
md.publisher = xlate( 'Publisher' )
md.imprint = xlate( 'Imprint' )
md.genre = xlate( 'Genre' )

View File

@ -63,6 +63,7 @@ class GenericMetadata:
self.publisher = None
self.month = None
self.year = None
self.day = None
self.issueCount = None
self.volume = None
self.genre = None
@ -125,6 +126,7 @@ class GenericMetadata:
assign( "issueCount", new_md.issueCount )
assign( "title", new_md.title )
assign( "publisher", new_md.publisher )
assign( "day", new_md.day )
assign( "month", new_md.month )
assign( "year", new_md.year )
assign( "volume", new_md.volume )
@ -256,8 +258,9 @@ class GenericMetadata:
add_attr_string( "issueCount" )
add_attr_string( "title" )
add_attr_string( "publisher" )
add_attr_string( "month" )
add_attr_string( "year" )
add_attr_string( "month" )
add_attr_string( "day" )
add_attr_string( "volume" )
add_attr_string( "volumeCount" )
add_attr_string( "genre" )