diff --git a/.gitignore b/.gitignore index 7a723c1..80cd79f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,9 @@ .vscode/* .pyenv/* -__pycache__/* +**/__pycache__/** .empty/* keys* users* *_tweets* -*.secret \ No newline at end of file +.secret +.pyc diff --git a/tweet_echoer.py b/tweet_echoer.py index 9a08b15..f45489c 100644 --- a/tweet_echoer.py +++ b/tweet_echoer.py @@ -41,7 +41,7 @@ def echo_recent_tweets(screen_name): # Authorize Mastodon, set api base # TODO: Modularize this mastodon = Mastodon( - access_token = '/Users/shadow8t4/.secrets/mastodon_api_access_token.secret', + access_token = '~/.secrets/mastodon_api_access_token.secret', api_base_url = 'https://masto.werefoxsoftware.com' ) @@ -100,4 +100,4 @@ def echo_recent_tweets(screen_name): if __name__ == '__main__': with open('users.txt', 'r') as f: for l in f: - echo_recent_tweets(l.rstrip()) \ No newline at end of file + echo_recent_tweets(l.rstrip())