1
0
Fork 0
mirror of synced 2024-06-02 10:44:40 +12:00

Add documentation for is_non_asset

{'Windows': GameAsset(app_name='', asset_id='', build_version='', catalog_item_id='', label_name='', namespace='', metadata={})}
This commit is contained in:
lennard 2023-04-05 13:32:35 +02:00
parent b041b47082
commit 0186b4f3c4
No known key found for this signature in database
GPG key ID: AB6010FE63C7C2B1

View file

@ -407,6 +407,8 @@ class RareGame(RareGameSlim):
@return bool If the game doesn't have assets
"""
# Asset infos are usually None, but there was a bug, that it was an empty GameAsset class
return not self.game.asset_infos or not next(iter(self.game.asset_infos.values())).app_name
@property