From e6d64b2408608c3606235a8e087b8e150332af24 Mon Sep 17 00:00:00 2001 From: jwansek Date: Tue, 25 Aug 2020 17:42:13 +0000 Subject: fixed dependencies --- bot.py | 6 +++++- requirements.txt | 5 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/bot.py b/bot.py index 0935879..27a5f3a 100644 --- a/bot.py +++ b/bot.py @@ -13,4 +13,8 @@ def post(): get_images.logging.info("Posted to twitter.") if __name__ == "__main__": - post() + import time + + while True: + post() + time.sleep(60*60) diff --git a/requirements.txt b/requirements.txt index 48f6f9e..325cb7d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,8 @@ Shapely==1.7.1 -requests==2.21.0 colorthief==0.2.1 +opencv_python==4.1.1.26 +requests==2.18.4 lxml==4.5.2 dataclasses==0.7 Pillow==7.2.0 -TwitterAPI==2.5.13 +twython==3.8.2 -- cgit v1.2.3