~cedric/guardian

8fc182ecbfe9eb19fd22d8172fa598a08adc180e — Cédric Bonhomme 3 years ago 4dcc329
do not use bare exception
1 files changed, 2 insertions(+), 2 deletions(-)

M guardian/conf.py
M guardian/conf.py => guardian/conf.py +2 -2
@@ 8,8 8,8 @@ import configparser
config = configparser.SafeConfigParser()
try:
    config.read("guardian/config/conf.cfg")
except:
    pass #config.read("guardian/config/conf.cfg.sample")
except Exception:
    pass  # config.read("guardian/config/conf.cfg.sample")


IRC_CHANNEL = config.get("irc", "channel", fallback="irc://irc.libera.chat/#testGuardian")