Compare commits

..

No commits in common. "a15554262461f961269403bbea2585a7c07b6c36" and "6668f5f719a2e799100bb73a9eb5259adcef827d" have entirely different histories.

View File

@ -11,7 +11,6 @@ from os.path import isfile, isdir, dirname, join, realpath
import sys
import io
import json
from datetime import datetime
from toot.console import main
# Command line Arguments
@ -68,7 +67,7 @@ itemList = json.loads( output)
# Loop through items
#print ('Running with last_seen being: {}'.format(last_seen))
print ('Running with last_seen being: {}'.format(last_seen))
for item in itemList:
# Set the most recent id
@ -78,7 +77,7 @@ for item in itemList:
# if never seen, and therefore recent, reboost
if( last_seen != item['id'] and dry_run != True ):
print("{}; Reboosting item #{} by {}".format(datetime.now().strftime("%y/%m/%d %H:%M:%S"),item['id'], item['account']['acct']) )
print("Reboosting item#{}".format(item['id']) )
# Build a fake list of args to run the toot main() function on
sim_args = [sys.argv[0], 'reblog', str(item['id'])]