about summary refs log tree commit diff
path: root/kcc-c2p.py
diff options
context:
space:
mode:
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