Update MutePlugin.py

This commit is contained in:
cclauss 2017-07-16 22:42:29 +02:00 committed by GitHub
parent b82cf8d08d
commit 688c240b35

View file

@ -14,7 +14,7 @@ if os.path.isfile("%s/mutes.json" % config.data_dir):
data = json.load(open("%s/mutes.json" % config.data_dir))
mutes = data.get("mutes", {})
site_blacklist = data.get("site_blacklist", {})
except Exception, err:
except Exception as err:
mutes = {}
site_blacklist = {}
else: