mirror of
https://gitlab.com/oloturia/fumcaso.git
synced 2025-01-05 04:57:18 +01:00
renamed replier
This commit is contained in:
parent
181828552f
commit
8e68462644
1 changed files with 6 additions and 1 deletions
|
@ -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)
|
Loading…
Reference in a new issue