Browse Source

Forgot to trim newlines

master
Noëlle Anthony 5 years ago
parent
commit
44a4fcfb12
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      mushcord.py

+ 1
- 1
mushcord.py View File

options = file.readlines() options = file.readlines()
config = {} config = {}
for option in options: for option in options:
o = option.split('=')
o = option.strip("\n").split('=')
config[o[0]] = config[o[1]] config[o[0]] = config[o[1]]
self.TOKEN = config['TOKEN'] self.TOKEN = config['TOKEN']
self.server = config['SERVER'] self.server = config['SERVER']

Loading…
Cancel
Save