app main entry point is now called "main"
git-svn-id: http://comictagger.googlecode.com/svn/trunk@492 6c5673fe-1810-88d6-992b-cd32ca31540c
This commit is contained in:
parent
86732e7827
commit
2d4ac84de0
@ -1,4 +1,4 @@
|
||||
#!/usr/bin/python
|
||||
from comictaggerlib.main import ctmain
|
||||
from comictaggerlib.main import main
|
||||
|
||||
ctmain()
|
||||
main()
|
||||
|
@ -37,14 +37,13 @@ except ImportError as e:
|
||||
qt_available = False
|
||||
#---------------------------------------
|
||||
|
||||
def ctmain():
|
||||
def main():
|
||||
utils.fix_output_encoding()
|
||||
settings = ComicTaggerSettings()
|
||||
|
||||
opts = Options()
|
||||
opts.parseCmdLineArgs()
|
||||
|
||||
settings = ComicTaggerSettings()
|
||||
|
||||
signal.signal(signal.SIGINT, signal.SIG_DFL)
|
||||
|
||||
if not qt_available and not opts.no_gui:
|
||||
|
Loading…
x
Reference in New Issue
Block a user