Shane 7 months ago
parent b8ab6dded7
commit 04a219ed8a
  1. 6
      check_rate_limits.py

@ -11,7 +11,11 @@ from foodie_config import X_API_CREDENTIALS
load_dotenv()
# Set up logging
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
logging.basicConfig(
filename='/home/shane/foodie_automator/logs/check_x_capacity.log',
level=logging.DEBUG,
format='%(asctime)s - %(levelname)s - %(message)s'
)
# Function to delete a tweet
def delete_tweet(tweet_id, auth):

Loading…
Cancel
Save