mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-12 08:54:11 +02:00
Now works both in python2 and python3
This commit is contained in:
@@ -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")
|
parser.add_argument("-n", "--non-interactive", help="Do not ask for any input from the user", action="store_true")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
|
try:
|
||||||
|
input = raw_input
|
||||||
|
except NameError:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
# Make sure the file the user selected is a jar
|
# Make sure the file the user selected is a jar
|
||||||
def isJar(filename):
|
def isJar(filename):
|
||||||
|
Reference in New Issue
Block a user