Config path fix
This commit is contained in:
parent
7af24ce701
commit
fa4fb67155
@ -5,11 +5,9 @@
|
||||
import os
|
||||
import configparser
|
||||
import requests
|
||||
from bs4 import BeautifulSoup
|
||||
|
||||
|
||||
config = configparser.ConfigParser()
|
||||
config.read('config.ini')
|
||||
config.read(os.path.dirname(__file__) + '/config.ini')
|
||||
|
||||
server_token = config['server']['token']
|
||||
server_url = config['server']['url']
|
||||
|
Reference in New Issue
Block a user