From 1a5f1a5e04f4b9d0aed71bfac6594366b36c88be Mon Sep 17 00:00:00 2001 From: romainsacchi Date: Sun, 14 Jul 2024 10:39:47 +0000 Subject: [PATCH] Black reformating --- premise/battery.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/premise/battery.py b/premise/battery.py index 3f8e4b32..29978bbe 100644 --- a/premise/battery.py +++ b/premise/battery.py @@ -22,12 +22,12 @@ def load_cell_energy_density(): result = {} for key, value in data.items(): - names = value['ecoinvent_aliases']['name'] + names = value["ecoinvent_aliases"]["name"] if isinstance(names, list): for name in names: - result[name] = value['target'] + result[name] = value["target"] else: - result[names] = value['target'] + result[names] = value["target"] return result