Removed misplaced return statement
This commit is contained in:
@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user