Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Commit

Permalink
fix: fixed settings variable
Browse files Browse the repository at this point in the history
  • Loading branch information
engnadeau committed Sep 21, 2021
1 parent 318bb31 commit 2046b94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/twitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def prune_tweets():

def prune_friends():
# set limit
limit = TODAY - datetime.timedelta(days=settings.FRIEND_PRUNE_DAYS)
limit = TODAY - datetime.timedelta(days=settings.twitter_friend_prune_days)
logging.info(f"Friends inactive since {limit} will be unfriended")

# auth
Expand Down

0 comments on commit 2046b94

Please sign in to comment.