Merge "Use yaml.safe_load() in accessbot"
This commit is contained in:
commit
7bc2b9cb6d
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user