mirror of
https://github.com/ciromattia/kcc
synced 2025-12-13 09:46:25 +00:00
Zero pad metadata (close #186)
This commit is contained in:
@@ -656,9 +656,9 @@ def getComicInfo(path, originalPath):
|
||||
if xml.data['Series']:
|
||||
options.title = escape(xml.data['Series'])
|
||||
if xml.data['Volume']:
|
||||
titleSuffix += ' V' + xml.data['Volume']
|
||||
titleSuffix += ' V' + xml.data['Volume'].zfill(2)
|
||||
if xml.data['Number']:
|
||||
titleSuffix += ' #' + xml.data['Number']
|
||||
titleSuffix += ' #' + xml.data['Number'].zfill(3)
|
||||
options.title += titleSuffix
|
||||
for field in ['Writers', 'Pencillers', 'Inkers', 'Colorists']:
|
||||
for person in xml.data[field]:
|
||||
|
||||
Reference in New Issue
Block a user