diff --git a/Qalbum.py b/Qalbum.py index 422e6cc..665f63e 100755 --- a/Qalbum.py +++ b/Qalbum.py @@ -27,7 +27,7 @@ from datetime import datetime # (c) ville.rantanen@helsinki.fi -__version__='2.20140630' +__version__='2.20140814' FILECONFIG=".config" FILEDESC="descriptions.csv" @@ -493,7 +493,7 @@ def setupoptions(): parser.add_argument("--version",action='version', version=__version__) parser.add_argument("-c",action="store_true",dest="writeconfig",default=False, help="Write current configuration to file "+FILECONFIG+ - ". If file exists, Qalbum and thumbnail handling read from the file, "+ + " and exit. If file exists, settings read from the file, "+ "overriding switches.") parser.add_argument("-r",action="store_true",dest="reverse",default=False, help="Reverse sort orded") @@ -594,6 +594,7 @@ def execute_plain(): options=setupdefaultoptions(options) if options.writeconfig: writeconfig(options) + sys.exit(0) # Copy all resources to target folder pathname=os.path.dirname(os.path.realpath(sys.argv[0])) fullpath=os.path.abspath(pathname)