From 20f934dc127e6afc7b2db01b5b6ddc125da817e0 Mon Sep 17 00:00:00 2001 From: derrod Date: Fri, 3 Dec 2021 16:27:19 +0100 Subject: [PATCH] [core] Avoid unnecessary copy() --- legendary/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/core.py b/legendary/core.py index f14bd5a..6680e3e 100644 --- a/legendary/core.py +++ b/legendary/core.py @@ -322,7 +322,7 @@ class LegendaryCore: return [] if self.lgd.assets: - assets = self.lgd.assets.copy() + assets = self.lgd.assets else: assets = dict()