Fix Python3 linting
This commit is contained in:
parent
5898a37997
commit
aa710d2d4e
2 changed files with 3 additions and 2 deletions
|
@ -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 = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue