mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-27 13:34:28 +00:00
The mystery deepens
This commit is contained in:
parent
93f021e45d
commit
067a6664d4
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ def page_profile(name: str):
|
||||||
except errors.NotFoundError:
|
except errors.NotFoundError:
|
||||||
data = None
|
data = None
|
||||||
# TODO: investigate on why instrumentedlists are returned
|
# TODO: investigate on why instrumentedlists are returned
|
||||||
if data is None:
|
if data is None or len(data) == 0:
|
||||||
continue
|
continue
|
||||||
elif isinstance(data, InstrumentedList):
|
elif isinstance(data, InstrumentedList):
|
||||||
mini_data.append({
|
mini_data.append({
|
||||||
|
|
Loading…
Reference in a new issue