mirror of
https://github.com/ciromattia/kcc
synced 2025-12-20 21:22:05 +00:00
py2exe fix
This commit is contained in:
2
kcc.py
2
kcc.py
@@ -24,8 +24,10 @@ __docformat__ = 'restructuredtext en'
|
||||
from Tkinter import *
|
||||
from kcc import gui
|
||||
from sys import platform
|
||||
from multiprocessing import freeze_support
|
||||
import os
|
||||
|
||||
freeze_support()
|
||||
root = Tk()
|
||||
root.resizable(width=False, height=False)
|
||||
root.config(padx=5, pady=5, takefocus=True)
|
||||
|
||||
@@ -32,7 +32,7 @@ from shutil import copytree
|
||||
from shutil import rmtree
|
||||
from shutil import make_archive
|
||||
from optparse import OptionParser
|
||||
from multiprocessing import Pool
|
||||
from multiprocessing import Pool, freeze_support
|
||||
import image
|
||||
import cbxarchive
|
||||
import pdfjpgextract
|
||||
@@ -732,6 +732,7 @@ def getEpubPath():
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
freeze_support()
|
||||
Copyright()
|
||||
main(sys.argv[1:])
|
||||
sys.exit(0)
|
||||
|
||||
Reference in New Issue
Block a user