Skip to content

Commit

Permalink
remove redundant variable
Browse files Browse the repository at this point in the history
  • Loading branch information
cwmeijer committed Aug 8, 2023
1 parent 4f9b571 commit 3bde91b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distance_explainer/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:]))

Expand Down

0 comments on commit 3bde91b

Please sign in to comment.