Skip to content
Snippets Groups Projects
Commit 8b835820 authored by Alessandro Cerioni's avatar Alessandro Cerioni
Browse files

Removing main(cfg) from outside the try-except block in the main.

parent e770c5ba
No related branches found
No related tags found
No related merge requests found
...@@ -311,7 +311,6 @@ if __name__ == '__main__': ...@@ -311,7 +311,6 @@ if __name__ == '__main__':
with open("config.yaml", 'r') as yamlfile: with open("config.yaml", 'r') as yamlfile:
cfg = yaml.load(yamlfile) cfg = yaml.load(yamlfile)
main(cfg)
while True: while True:
try: try:
main(cfg) main(cfg)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment