From fa4fb6715564b77d929591a5b8a711ce624e480d Mon Sep 17 00:00:00 2001 From: sevi-kun Date: Wed, 1 Jun 2022 19:51:46 +0200 Subject: [PATCH] Config path fix --- arr-mastodon.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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']