mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
The plot thickens even more
This commit is contained in:
parent
067a6664d4
commit
2c366769eb
1 changed files with 3 additions and 1 deletions
|
@ -120,9 +120,11 @@ def page_profile(name: str):
|
|||
except errors.NotFoundError:
|
||||
data = None
|
||||
# TODO: investigate on why instrumentedlists are returned
|
||||
if data is None or len(data) == 0:
|
||||
if data is None:
|
||||
continue
|
||||
elif isinstance(data, InstrumentedList):
|
||||
if len(data) == 0:
|
||||
continue
|
||||
mini_data.append({
|
||||
"name": game._mini_name,
|
||||
"data": data[0]
|
||||
|
|
Loading…
Reference in a new issue