Finish implementation and tests for the cheat system #3

Closed
m wants to merge 67 commits from cheat-refactor into master
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 40686ac0b7 - Show all commits

View File

@ -57,6 +57,8 @@ class Agora(object):
dash = self.agora.dashboard_seller() dash = self.agora.dashboard_seller()
except ReadTimeout: except ReadTimeout:
return False return False
if not dash:
return False
dash_tmp = {} dash_tmp = {}
if "data" not in dash["response"].keys(): if "data" not in dash["response"].keys():
self.log.error("Data not in dashboard response: {content}", content=dash) self.log.error("Data not in dashboard response: {content}", content=dash)