Removed misplaced return statement
This commit is contained in:
parent
c797258ce4
commit
2062fad6be
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue