From 3bde91b4dea4e6c8f9171d4c08ee1cdf4c280839 Mon Sep 17 00:00:00 2001 From: Christiaan Meijer Date: Tue, 8 Aug 2023 14:14:53 +0200 Subject: [PATCH] remove redundant variable --- distance_explainer/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distance_explainer/config.py b/distance_explainer/config.py index 944fc12..957a2a5 100644 --- a/distance_explainer/config.py +++ b/distance_explainer/config.py @@ -23,7 +23,7 @@ class Config(YAMLWizard): def load(cls, path): try: return cls.from_yaml_file(path) - except ConstructorError as e: + except ConstructorError: with open(path, 'r') as f: return cls.from_yaml('\n'.join(f.read().split('\n')[1:]))