1
0
mirror of https://github.com/hughrun/ephemetoot synced 2025-01-10 04:52:40 +01:00

add some standard python boilerplate

This commit is contained in:
Mark Eaton 2019-01-10 10:59:51 -05:00
parent 92643271d5
commit bc054a6918

View File

@ -72,6 +72,7 @@ def checkToots(timeline, deleted_count=0):
print('No toots found!')
# trigger from here
if __name__ == '__main__':
account = mastodon.account(user_id)
print('Checking ' + str(account.statuses_count) + ' toots...')
checkToots(timeline)