mirror of
https://github.com/hughrun/ephemetoot
synced 2025-01-10 13:02:36 +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!')
|
print('No toots found!')
|
||||||
|
|
||||||
# trigger from here
|
# trigger from here
|
||||||
account = mastodon.account(user_id)
|
if __name__ == '__main__':
|
||||||
print('Checking ' + str(account.statuses_count) + ' toots...')
|
account = mastodon.account(user_id)
|
||||||
checkToots(timeline)
|
print('Checking ' + str(account.statuses_count) + ' toots...')
|
||||||
|
checkToots(timeline)
|
||||||
|
Loading…
Reference in New Issue
Block a user