mirror of
https://github.com/hughrun/ephemetoot
synced 2025-01-09 20:42:33 +01:00
add some standard python boilerplate
This commit is contained in:
parent
92643271d5
commit
bc054a6918
@ -72,6 +72,7 @@ def checkToots(timeline, deleted_count=0):
|
||||
print('No toots found!')
|
||||
|
||||
# trigger from here
|
||||
account = mastodon.account(user_id)
|
||||
print('Checking ' + str(account.statuses_count) + ' toots...')
|
||||
checkToots(timeline)
|
||||
if __name__ == '__main__':
|
||||
account = mastodon.account(user_id)
|
||||
print('Checking ' + str(account.statuses_count) + ' toots...')
|
||||
checkToots(timeline)
|
||||
|
Loading…
Reference in New Issue
Block a user