Terbau / fortnitepy

Async python library for interacting with Fortnite's API and XMPP services.
MIT License
148 stars 52 forks source link

Error when fetching a member profile #69

Closed Luc1412 closed 4 years ago

Luc1412 commented 4 years ago

I tried to fetch a user profile: user = await self.fetch_profile_by_display_name('Luc1412') and got this error:

File "C:\Users\luc14\AppData\Local\Programs\Python\Python38-32\lib\site-packages\fortnitepy\client.py", line 1043, in fetch_profile_by_display_name
    account = max(epic_accounts, key=lambda d: d['externalAuths'])
TypeError: '>' not supported between instances of 'dict' and 'dict'
Terbau commented 4 years ago

This is a silly mistake by me. It will be fixed in the next version :)

Terbau commented 4 years ago

Didn't mean to close. Oops.

Terbau commented 4 years ago

The issue should now be resolved :)