diff options
author | admins <admins@tilde.institute> | 2022-07-12 19:22:47 -0400 |
---|---|---|
committer | admins <admins@tilde.institute> | 2022-07-12 19:22:47 -0400 |
commit | 7d39c4e29b95f44a890d6aa63d76036f6b7a7e43 (patch) | |
tree | abf7aeb7cb087a2aac2d1e872d541d9dc3ec93cb /bin/toot.py | |
parent | e475fb1957913cba5a648b8422a821a6d1fc2bf4 (diff) | |
download | admin-7d39c4e29b95f44a890d6aa63d76036f6b7a7e43.tar.gz |
updated some files that had drifted locally
Diffstat (limited to 'bin/toot.py')
-rwxr-xr-x | bin/toot.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/toot.py b/bin/toot.py index ae94f30..c13eaf6 100755 --- a/bin/toot.py +++ b/bin/toot.py @@ -1,4 +1,4 @@ -#!/usr/local/bin/python2 +#!/usr/local/bin/python3 import json import os @@ -50,7 +50,7 @@ def toot(status, media): status = "".join(sys.stdin).strip() # replace shortcodes with emoji :thumbsup: - status = emoji.emojize(status, use_aliases=True) + status = emoji.emojize(status, language='alias') # check status length and post status if len(status) > 500: |