Skip to content

Commit 7316445

Browse files
committed
Fix typo.
1 parent 14034fe commit 7316445

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/twitter_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def __init__(self, consumer_key, consumer_secret, access_token=None, access_toke
1414
self.access_token_secret = access_token_secret
1515

1616
def post_tweet(self, payload):
17-
if os['DOMAIN'] == 'alis.to':
17+
if os.environ['DOMAIN'] == 'alis.to':
1818
oauth = self.__get_oauth()
1919
return oauth.post(
2020
"https://api.twitter.com/2/tweets",

0 commit comments

Comments
 (0)