Revert "feat: support loading hashtags from env"

This reverts commit d9bcb29f85.
This commit is contained in:
cellarspoon 2022-01-12 09:45:41 +01:00
parent d9bcb29f85
commit 6c3814dd5b
No known key found for this signature in database
GPG Key ID: 03789458B3D0C410

View File

@ -9,10 +9,7 @@ from mastodon import Mastodon
instance = "https://social.lumbung.space" instance = "https://social.lumbung.space"
email = "" email = ""
password = "" password = ""
hashtags = ["jalansesama"]
hashtags = os.environ.get("MASTODON_HASHTAGS", [])
if hashtags:
hashtags = [hashtags]
def login_mastodon_bot(): def login_mastodon_bot():