You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 17, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 17, 2024. It is now read-only.
TypeError when using the Friend List func or any other. #16
Hi! I went to do some tests involving your project and I came across an error when trying to use any of the functions, in this case below it was using the list of friends. Another thing, can I use the same cookie every time or do I need to collect it before using it?
Exception has occurred: TypeError
'NoneType' object is not iterable
File "C:\Users\Santa Kaya\Desktop\cod-python-api-2.0.1\cod_api_init_.py", line 556, in info
for i in rawData['identities']:
File "C:\Users\Santa Kaya\Desktop\cod-python-api-2.0.1\cod_api_init_.py", line 567, in _priv
d = self.info()
File "C:\Users\Santa Kaya\Desktop\cod-python-api-2.0.1\cod_api_init.py", line 610, in settingsAsync
p, g = self._priv()
File "C:\Users\Santa Kaya\Desktop\cod-python-api-2.0.1\cod_api_init.py", line 615, in settings
return asyncio.run(self.settingsAsync())
File "C:\Users\Santa Kaya\Desktop\cod-python-api-2.0.1\main.py", line 11, in
settings = api.Me.settings() # returns data of type dict
Activity
aaron-fredrick commentedon Nov 25, 2022
hey
Thanks for pointing out this error, we will correct our library code and include the changes in the next update
Thanks