1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 19:44:20 +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: 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({