Removed misplaced return statement

This commit is contained in:
Jim Martens 2020-01-08 21:09:14 +01:00
parent c797258ce4
commit 2062fad6be
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ def main() -> None:
try: try:
with open(config_file, "r"): with open(config_file, "r"):
# if we reach this branch then the file exists and everything is fine # if we reach this branch then the file exists and everything is fine
return pass
except FileNotFoundError: except FileNotFoundError:
with open(config_file, "w") as file: with open(config_file, "w") as file:
parser = configparser.ConfigParser() parser = configparser.ConfigParser()