From 720aff1abd842cbb94f38836e68c4f7e8c24c8ca Mon Sep 17 00:00:00 2001 From: cquest Date: Wed, 3 Apr 2019 17:44:07 +0200 Subject: [PATCH] reorg modules --- tootbot.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tootbot.py b/tootbot.py index 291cb5c..5a9eaa7 100755 --- a/tootbot.py +++ b/tootbot.py @@ -1,12 +1,12 @@ import os.path import sys -import feedparser -from mastodon import Mastodon -import json -import requests import re import sqlite3 -from datetime import datetime, date, time, timedelta +from datetime import datetime, timedelta + +import feedparser +from mastodon import Mastodon +import requests if len(sys.argv) < 4: print("Usage: python3 tootbot.py twitter_account mastodon_login mastodon_passwd mastodon_instance")