From 152040964e0056f0cc60fbea1cfaf6f3c753a3a2 Mon Sep 17 00:00:00 2001 From: "beville@gmail.com" Date: Wed, 12 Dec 2012 23:23:32 +0000 Subject: [PATCH] exit properly on a version command git-svn-id: http://comictagger.googlecode.com/svn/trunk@253 6c5673fe-1810-88d6-992b-cd32ca31540c --- options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/options.py b/options.py index 1161fc9..95be3e1 100644 --- a/options.py +++ b/options.py @@ -228,7 +228,7 @@ If no options are given, {0} will run in windowed mode self.no_overwrite = True if o == "--version": print "ComicTagger version: ", ctversion.version - quit() + sys.exit(0) if o in ("-t", "--type"): if a.lower() == "cr": self.data_style = MetaDataStyle.CIX