diff --git a/docker/accessbot/accessbot.py b/docker/accessbot/accessbot.py index 38edc16ff2..af1bfe7f83 100755 --- a/docker/accessbot/accessbot.py +++ b/docker/accessbot/accessbot.py @@ -230,7 +230,7 @@ def main(): config = configparser.ConfigParser() config.read(args.config) - channels = yaml.load(open(args.channels)) + channels = yaml.safe_load(open(args.channels)) a = SetAccess(channels, args.noop, config.get('ircbot', 'nick'),