Merge "Use yaml.safe_load() in accessbot"

This commit is contained in:
Zuul 2022-01-13 23:31:41 +00:00 committed by Gerrit Code Review
commit 7bc2b9cb6d

View File

@ -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'),