[core] Avoid unnecessary copy()

This commit is contained in:
derrod 2021-12-03 16:27:19 +01:00
parent 8dadf3c1a1
commit 20f934dc12

View file

@ -322,7 +322,7 @@ class LegendaryCore:
return [] return []
if self.lgd.assets: if self.lgd.assets:
assets = self.lgd.assets.copy() assets = self.lgd.assets
else: else:
assets = dict() assets = dict()