Skip to content

Commit 9c629d4

Browse files
authoredAug 4, 2017
data.encode() -> data.decode()
In python3, a zombie calling back will throw an exception on this line and the zombie will die (rip zombie). This should fix that.
1 parent de0466c commit 9c629d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎core/session.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def parse_user_info(self, data):
4949
if self.os != "" or self.user != "" or self.computer != "" or self.elevated != self.ELEVATED_UNKNOWN:
5050
return False
5151

52-
data = data.encode().split("~~~")
52+
data = data.decode().split("~~~")
5353
if len(data) != 3:
5454
return False
5555

0 commit comments

Comments
 (0)