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:
2022-06-24 18:10:45 +02:00
parent e942ac43fa
commit 84a5933490
20 changed files with 274 additions and 176 deletions
+1 -1
View File
@@ -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)