Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
Luc1412 committed Mar 6, 2024
2 parents 1cc02b6 + a051466 commit 45eb117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fortnite_api/shop.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Shop:
def __init__(self, data: dict):
self.hash: str = data['hash']
self.date: datetime = datetime.strptime(data['date'], '%Y-%m-%dT%H:%M:%S%z')
self.entries: List[ShopEntry] = [ShopEntry(entry) for entry in data['entries']]
self.entries: List[ShopEntry] = [ShopEntry(entry) for entry in data['entries'] or []]
self.raw_data: dict = data


Expand Down

0 comments on commit 45eb117

Please sign in to comment.