Now works both in python2 and python3
This commit is contained in:
parent
1b6c379e36
commit
09b8429c28
@ -17,6 +17,11 @@ parser.add_argument("-d", "--debug", help="Run in debug mode", action="store_tru
|
||||
parser.add_argument("-n", "--non-interactive", help="Do not ask for any input from the user", action="store_true")
|
||||
args = parser.parse_args()
|
||||
|
||||
try:
|
||||
input = raw_input
|
||||
except NameError:
|
||||
pass
|
||||
|
||||
|
||||
# Make sure the file the user selected is a jar
|
||||
def isJar(filename):
|
||||
|
Loading…
Reference in New Issue
Block a user