Skip to content

Commit c70866f

Browse files
authored
Fixes
1 parent 4f7b50c commit c70866f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

keyauth.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ def setvar(self, var_name, var_data):
261261
}
262262
response = self.__do_request(post_data)
263263
response = encryption.decrypt(response, self.enckey, init_iv)
264+
json = jsond.loads(response)
264265

265266
if json["success"]:
266267
return True
@@ -281,6 +282,7 @@ def ban(self):
281282
}
282283
response = self.__do_request(post_data)
283284
response = encryption.decrypt(response, self.enckey, init_iv)
285+
json = jsond.loads(response)
284286

285287
if json["success"]:
286288
return True

0 commit comments

Comments
 (0)