From 2062fad6be8991358fdef2f804f6d195132f8424 Mon Sep 17 00:00:00 2001 From: Jim Martens Date: Wed, 8 Jan 2020 21:09:14 +0100 Subject: [PATCH] Removed misplaced return statement --- src/twomartens/allrisscraper/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/twomartens/allrisscraper/main.py b/src/twomartens/allrisscraper/main.py index d5ae707..f942853 100644 --- a/src/twomartens/allrisscraper/main.py +++ b/src/twomartens/allrisscraper/main.py @@ -46,7 +46,7 @@ def main() -> None: try: with open(config_file, "r"): # if we reach this branch then the file exists and everything is fine - return + pass except FileNotFoundError: with open(config_file, "w") as file: parser = configparser.ConfigParser()