1
0
Fork 0
mirror of https://gitlab.com/oloturia/fumcaso.git synced 2025-01-05 04:57:18 +01:00

renamed replier

This commit is contained in:
Oloturia 2022-11-29 15:57:07 +01:00
parent 181828552f
commit 8e68462644

View file

@ -6,6 +6,7 @@ from mastodon_main import publishStrip
import json
import os
import sys
import time
fileDir = os.path.dirname(os.path.abspath(__file__))
fileDir = fileDir + "/"
@ -39,4 +40,8 @@ if __name__ == "__main__":
TOKEN = createapp[0]
mastodon = Mastodon(access_token = TOKEN,api_base_url = API_URL)
listener = stripListener()
mastodon.stream_user(listener)
while True:
try:
mastodon.stream_user(listener)
except:
time.sleep(10)