Skip to content

Commit

Permalink
Resolved #1 and removed debug lines
Browse files Browse the repository at this point in the history
  • Loading branch information
redstonedesigner committed Sep 20, 2020
1 parent 50236a3 commit 3c9d0d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ def __init__(self):
cfg = yaml.load(open('config.yml','r'),Loader=yaml.Loader)
self.charset = cfg['charset']
self.format = cfg['format']
except Exception as e:
print(str(e))
except Exception:
# Handle invalid config
print(Back.RED+' ERROR '+Back.RESET+' Invalid configuration file. Regenerating...')
# Generate valid config
Expand Down

0 comments on commit 3c9d0d8

Please sign in to comment.