diff --git a/readme/CHANGELOG b/readme/CHANGELOG index d302c0cb4..2e3ad930a 100644 --- a/readme/CHANGELOG +++ b/readme/CHANGELOG @@ -5,6 +5,8 @@ version 8.0.2 * fix an issue on harvester file not defined (python 3 compat) * add a simple install for setoolkit (setup.py) * teensy remove old path generation location /usr/share/set to /usr/share/setoolkit +* fixed raw_input issue for python3 +* changed env variable to python3 ~~~~~~~~~~~~~~~~ version 8.0.1 diff --git a/setoolkit b/setoolkit index eaee194cc..0721e2dc9 100755 --- a/setoolkit +++ b/setoolkit @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 # coding=utf-8 import os import re diff --git a/src/core/set.py b/src/core/set.py index c0fbf83b3..05ce51937 100644 --- a/src/core/set.py +++ b/src/core/set.py @@ -14,6 +14,11 @@ import socket from src.core.setcore import * from src.core.menu import text +try: + raw_input +except: + raw_input = input + ipaddr = "" me = mod_name() #