From 8b835820ad605590a071f97fa3e08a22152b6740 Mon Sep 17 00:00:00 2001 From: Alessandro Cerioni <acerioni@grandlyon.com> Date: Mon, 8 Apr 2019 18:39:38 +0200 Subject: [PATCH] Removing main(cfg) from outside the try-except block in the main. --- 3-doc-enricher.py | 1 - 1 file changed, 1 deletion(-) diff --git a/3-doc-enricher.py b/3-doc-enricher.py index 8071680..f2a9194 100644 --- a/3-doc-enricher.py +++ b/3-doc-enricher.py @@ -311,7 +311,6 @@ if __name__ == '__main__': with open("config.yaml", 'r') as yamlfile: cfg = yaml.load(yamlfile) - main(cfg) while True: try: main(cfg) -- GitLab