From 5186a0e5338a4215aaa7ae8e82656cb2c4e86775 Mon Sep 17 00:00:00 2001 From: cclauss Date: Mon, 25 Sep 2017 13:55:43 +0200 Subject: [PATCH] Define raw_input() for Python 3 __raw_input()__ is called on lines 276 and 283 but it was removed from Python 3 in favor of __input()__. --- lib/settings.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/settings.py b/lib/settings.py index 87c7819..705068c 100644 --- a/lib/settings.py +++ b/lib/settings.py @@ -14,6 +14,11 @@ import whichcraft import lib.errors import bin.unzip_gecko +try: + raw_input # Python 2 +except NameError: + raw_input = input # Python 3 + # clone link CLONE = "https://github.com/ekultek/zeus-scanner.git" # current version