modified git ignore. Added fix to tweet echoer.

This commit is contained in:
Alex Huddleston 2019-03-02 16:52:33 -06:00
parent 03e6c21120
commit 17a6cedc54
2 changed files with 5 additions and 4 deletions

5
.gitignore vendored
View file

@ -1,8 +1,9 @@
.vscode/* .vscode/*
.pyenv/* .pyenv/*
__pycache__/* **/__pycache__/**
.empty/* .empty/*
keys* keys*
users* users*
*_tweets* *_tweets*
*.secret .secret
.pyc

View file

@ -41,7 +41,7 @@ def echo_recent_tweets(screen_name):
# Authorize Mastodon, set api base # Authorize Mastodon, set api base
# TODO: Modularize this # TODO: Modularize this
mastodon = Mastodon( 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' api_base_url = 'https://masto.werefoxsoftware.com'
) )