From 09b8429c283ed6e34385777b98f655c38bac265a Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Thu, 7 Jun 2018 06:25:49 -0400 Subject: [PATCH] Now works both in python2 and python3 --- release.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/release.py b/release.py index 16713122..3dcd3210 100644 --- a/release.py +++ b/release.py @@ -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):