about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xkcc/comic2ebook.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kcc/comic2ebook.py b/kcc/comic2ebook.py
index 43c7e24..7e1d90c 100755
--- a/kcc/comic2ebook.py
+++ b/kcc/comic2ebook.py
@@ -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]: