implemented base dir for all files
This commit is contained in:
@@ -3,12 +3,12 @@ from pathlib import Path
|
||||
from mastodon import Mastodon
|
||||
|
||||
from . import Feed
|
||||
from ..utils import PROGRAM_NAME, prompt, config
|
||||
from ..utils import PROGRAM_DATA_DIR, prompt, config
|
||||
|
||||
|
||||
class MastodonFeed(Feed):
|
||||
__config_name__ = "mastodon"
|
||||
CLIENTCRED_PATH: Path = config.CONFIG_PATH.joinpath("mastodon_clientcred.secret")
|
||||
CLIENTCRED_PATH: Path = PROGRAM_DATA_DIR.joinpath("mastodon_clientcred.secret")
|
||||
|
||||
@classmethod
|
||||
def prompt_auth(cls) -> dict:
|
||||
|
||||
Reference in New Issue
Block a user