1
Fork 0
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:
Steffo 2019-01-15 00:24:50 +01:00
parent 93f021e45d
commit 067a6664d4

View file

@ -120,7 +120,7 @@ def page_profile(name: str):
except errors.NotFoundError:
data = None
# TODO: investigate on why instrumentedlists are returned
if data is None:
if data is None or len(data) == 0:
continue
elif isinstance(data, InstrumentedList):
mini_data.append({