Various Fixes.
generified the Worldboss module; removed the spammy-section as of currently, will be readded at a later stage.
This commit is contained in:
@@ -203,7 +203,7 @@ class OrgController:
|
||||
"left join all_orgs a on o.org_id = a.org_id order by lower(a.org_name)")
|
||||
for org in ours:
|
||||
result = requests.get(self.single_org_uri % org.org_id).json()
|
||||
if result:
|
||||
if result and len(result[1]) > 0:
|
||||
self.cache.store('org_roster', f"{org.org_id}.5.json", json.dumps(result))
|
||||
else:
|
||||
result = json.loads(self.cache.retrieve('org_roster', f"{org.org_id}.5.json").data)
|
||||
|
||||
Reference in New Issue
Block a user