Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
jaesivsm committed May 5, 2022
1 parent a20ce89 commit 4fb85e0
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions GTG/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,9 +159,8 @@ def get(self, option):
error)

if value is None and default_value is None:
raise ValueError(
"No valid configuration value or default value was "
"found for {option} in {self._section_name}")
raise ValueError("No valid configuration value or default value "
f"was found for {option} in {self._section_name}")
elif value is None:
return default_value
else:
Expand Down

0 comments on commit 4fb85e0

Please sign in to comment.