diff --git a/arr-mastodon.py b/arr-mastodon.py index 31b65bd..25cf08a 100755 --- a/arr-mastodon.py +++ b/arr-mastodon.py @@ -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']