Cleanup: remove unnecessary check left in last commit

Should have been removed in 236c0f61b1.
This commit is contained in:
Campbell Barton
2024-05-22 20:22:47 +10:00
parent 236c0f61b1
commit 774f59dd07

View File

@@ -28,7 +28,7 @@ class SpaceAssetInfo:
@classmethod
def get_active_asset(cls, context: Context):
if active_file := getattr(context, "active_file", None):
return active_file.asset_data if active_file else None
return active_file.asset_data
class AssetBrowserPanel: