mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[core] Avoid unnecessary copy()
This commit is contained in:
parent
8dadf3c1a1
commit
20f934dc12
|
@ -322,7 +322,7 @@ class LegendaryCore:
|
|||
return []
|
||||
|
||||
if self.lgd.assets:
|
||||
assets = self.lgd.assets.copy()
|
||||
assets = self.lgd.assets
|
||||
else:
|
||||
assets = dict()
|
||||
|
||||
|
|
Loading…
Reference in a new issue