Fixed printing of primary flag on CLI

git-svn-id: http://comictagger.googlecode.com/svn/trunk@272 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
beville 2012-12-18 23:21:56 +00:00
parent ff74b3e5bc
commit 94c5882175

View File

@ -295,7 +295,7 @@ class GenericMetadata:
for c in self.credits:
primary = ""
if c.has_key('primary') and c['primary']:
primary == " [P]"
primary = " [P]"
add_string( "credit", c['role']+": "+c['person'] + primary)
# find the longest field name