about summary refs log tree commit diff
path: root/kcc-c2p.py
diff options
context:
space:
mode:
authorPaweł Jastrzębski <pawelj@vulturis.eu>2014-01-15 11:32:29 +0100
committerPaweł Jastrzębski <pawelj@vulturis.eu>2014-01-15 11:32:29 +0100
commitcccbd36463fbd3395e200eed0a20e7d7782e549d (patch)
treebf2005771ac244e187388275f420e3c1d0bd273c /kcc-c2p.py
parentBucket of various tweaks (diff)
downloadkcc-cccbd36463fbd3395e200eed0a20e7d7782e549d.tar.gz
kcc-cccbd36463fbd3395e200eed0a20e7d7782e549d.tar.bz2
kcc-cccbd36463fbd3395e200eed0a20e7d7782e549d.zip
And one more bucket...
Diffstat (limited to 'kcc-c2p.py')
-rw-r--r--kcc-c2p.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/kcc-c2p.py b/kcc-c2p.py
index 87bcd1c..d112569 100644
--- a/kcc-c2p.py
+++ b/kcc-c2p.py
@@ -27,7 +27,8 @@ import sys
 from multiprocessing import freeze_support
 from kcc.comic2panel import main, Copyright
 
-freeze_support()
-Copyright()
-main(sys.argv[1:])
-sys.exit(0)
\ No newline at end of file
+if __name__ == "__main__":
+    freeze_support()
+    Copyright()
+    main(sys.argv[1:])
+    sys.exit(0)
\ No newline at end of file