1
0
mirror of https://github.com/ciromattia/kcc synced 2025-12-13 01:36:27 +00:00

modify path with c2e and c2p (#790)

This commit is contained in:
Alex Xu
2024-12-30 22:19:23 -08:00
committed by GitHub
parent 315b6e150d
commit 4adb998896
3 changed files with 58 additions and 50 deletions

View File

@@ -20,6 +20,8 @@
import sys
from kcc import modify_path
if sys.version_info < (3, 8, 0):
print('ERROR: This is a Python 3.8+ script!')
sys.exit(1)
@@ -28,6 +30,7 @@ from multiprocessing import freeze_support, set_start_method
from kindlecomicconverter.startup import startC2E
if __name__ == "__main__":
modify_path()
set_start_method('spawn')
freeze_support()
startC2E()