mirror of
https://github.com/HelloZeroNet/ZeroNet.git
synced 2023-12-14 04:33:03 +01:00
Update MutePlugin.py
This commit is contained in:
parent
b82cf8d08d
commit
688c240b35
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue