Fix Python3 linting

This commit is contained in:
Jeff Ammons 2016-04-15 14:49:38 -07:00
parent 5898a37997
commit aa710d2d4e
2 changed files with 3 additions and 2 deletions

View file

@ -210,7 +210,7 @@ if __name__ == "__main__":
directory
))
config = yaml.load(file(args.config or 'rtmbot.conf', 'r'))
config = yaml.load(open(args.config or 'rtmbot.conf', 'r'))
debug = config["DEBUG"]
bot = RtmBot(config["SLACK_TOKEN"])
site_plugins = []