diff --git a/ropgadget/updateAlert.py b/ropgadget/updateAlert.py index 3a6ef85..85e5a2e 100644 --- a/ropgadget/updateAlert.py +++ b/ropgadget/updateAlert.py @@ -26,7 +26,7 @@ def checkUpdate(): except: print("Can't connect to raw.githubusercontent.com") return - d = conn.getresponse().read() + d = conn.getresponse().read().decode() majorVersion = re.search("MAJOR_VERSION.+=.+(?P[\d])", d).group("value") minorVersion = re.search("MINOR_VERSION.+=.+(?P[\d])", d).group("value") webVersion = int("%s%s" % (majorVersion, minorVersion))