From 57b571b6c27a599840ba489e787bb3a3ca36929a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Jastrz=C4=99bski?= Date: Sat, 21 Feb 2015 18:30:54 +0100 Subject: [PATCH] Fixed CLI version --- kcc-c2e.py | 3 ++- kcc-c2p.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/kcc-c2e.py b/kcc-c2e.py index 5025745..e46d133 100755 --- a/kcc-c2e.py +++ b/kcc-c2e.py @@ -27,10 +27,11 @@ from kcc.shared import dependencyCheck dependencyCheck(2) from multiprocessing import freeze_support +from kcc import __version__ from kcc.comic2ebook import main if __name__ == "__main__": freeze_support() - print(('comic2ebook v%(__version__)s. Written by Ciro Mattia Gonano and Pawel Jastrzebski.' % globals())) + print('comic2ebook v' + __version__ + ' - Written by Ciro Mattia Gonano and Pawel Jastrzebski.') main(sys.argv[1:]) sys.exit(0) \ No newline at end of file diff --git a/kcc-c2p.py b/kcc-c2p.py index 64477e3..4fe42fd 100755 --- a/kcc-c2p.py +++ b/kcc-c2p.py @@ -27,10 +27,11 @@ from kcc.shared import dependencyCheck dependencyCheck(1) from multiprocessing import freeze_support +from kcc import __version__ from kcc.comic2panel import main if __name__ == "__main__": freeze_support() - print(('comic2panel v%(__version__)s. Written by Ciro Mattia Gonano and Pawel Jastrzebski.' % globals())) + print('comic2panel v' + __version__ + ' - Written by Ciro Mattia Gonano and Pawel Jastrzebski.') main(sys.argv[1:]) sys.exit(0) \ No newline at end of file