mirror of
https://github.com/ciromattia/kcc
synced 2025-12-23 22:51:45 +00:00
Fixed an issue in OPF generation for device resolution (fixes #4)
Reworked options system (call with -h option to get the inline help) (fixes #3)
This commit is contained in:
16
kcc.py
16
kcc.py
@@ -33,12 +33,12 @@
|
||||
|
||||
__version__ = '1.30'
|
||||
|
||||
import sys
|
||||
from kcc import comic2ebook
|
||||
from Tkinter import *
|
||||
from kcc import gui
|
||||
|
||||
if __name__ == "__main__":
|
||||
print ('kcc v%(__version__)s. '
|
||||
'Written 2012 by Ciro Mattia Gonano.' % globals())
|
||||
for arg in sys.argv[1:]:
|
||||
comic2ebook.main(['','KHD',arg])
|
||||
sys.exit(0)
|
||||
root = Tk()
|
||||
app = gui.MainWindow(master=root)
|
||||
app.master.title("Kindle Comic Converter v" + __version__)
|
||||
app.master.maxsize(1000, 400)
|
||||
app.mainloop()
|
||||
root.destroy()
|
||||
|
||||
Reference in New Issue
Block a user