diff options
| author | Paweł Jastrzębski <[email protected]> | 2015-02-21 18:30:54 +0100 |
|---|---|---|
| committer | Paweł Jastrzębski <[email protected]> | 2015-02-21 18:30:54 +0100 |
| commit | 57b571b6c27a599840ba489e787bb3a3ca36929a (patch) | |
| tree | 4b9596c8533f0c9df7d1166180e97b7fbd50a1f9 | |
| parent | Fool proofing file sorting (diff) | |
| download | kcc-57b571b6c27a599840ba489e787bb3a3ca36929a.tar.gz kcc-57b571b6c27a599840ba489e787bb3a3ca36929a.tar.bz2 kcc-57b571b6c27a599840ba489e787bb3a3ca36929a.zip | |
Fixed CLI version
| -rwxr-xr-x | kcc-c2e.py | 3 | ||||
| -rwxr-xr-x | 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 |