tools v6.0.4

This commit is contained in:
Apprentice Alf
2013-04-10 11:50:10 +01:00
parent 51919284ca
commit cd2d74601a
17 changed files with 40 additions and 29 deletions

View File

@@ -6,8 +6,9 @@
# Changelog
# 4.9 - moved unicode_argv call inside main for Windows DeDRM compatibility
# 5.0 - Fixed potential unicode problem with command line interface
__version__ = '4.9'
__version__ = '5.0'
import sys
import os, csv, getopt
@@ -451,7 +452,7 @@ def cli_main():
print u"TopazExtract v{0}.".format(__version__)
try:
opts, args = getopt.getopt(sys.argv[1:], "k:p:s:x")
opts, args = getopt.getopt(argv[1:], "k:p:s:x")
except getopt.GetoptError, err:
print u"Error in options or arguments: {0}".format(err.args[0])
usage(progname)