Redis fucks with me
This commit is contained in:
parent
6f584d1187
commit
5d924309b9
1 changed files with 2 additions and 2 deletions
|
|
@ -29,10 +29,10 @@ class Connector():
|
||||||
)
|
)
|
||||||
|
|
||||||
def get_reply_bank(self):
|
def get_reply_bank(self):
|
||||||
return json.loads(self.dbconn.get('reply_bank').decode("utf-8"))
|
return json.loads(self.dbconn.json().get('reply_bank').decode("utf-8"))
|
||||||
|
|
||||||
def get_victims(self):
|
def get_victims(self):
|
||||||
return json.loads(self.dbconn.get('reply_bank').decode("utf-8")).victims
|
return json.loads(self.dbconn.json().get('reply_bank').decode("utf-8")).victims
|
||||||
|
|
||||||
def get_bearer(self):
|
def get_bearer(self):
|
||||||
return self.dbconn.hget("api", "bearer").decode("utf-8")
|
return self.dbconn.hget("api", "bearer").decode("utf-8")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue