From b6b080fedfac69a3e44372c2b7ede3df00812737 Mon Sep 17 00:00:00 2001 From: Clemens Klug Date: Thu, 9 Nov 2017 12:25:02 +0100 Subject: [PATCH] update requirements --- bot.py | 5 +++-- requirements.txt | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/bot.py b/bot.py index 846cd8f..c670291 100644 --- a/bot.py +++ b/bot.py @@ -71,8 +71,9 @@ def post_plot(config): print(r) def setup(config): - schedule.every(30).seconds.do(lambda: post_plot(config)) + #schedule.every(30).seconds.do(lambda: post_plot(config)) #schedule.every().week.do(post_plot) + schedule.every().day.do(lambda: post_plot(config)) if __name__ == "__main__": parser = argparse.ArgumentParser(description="DoorStateBot") @@ -83,4 +84,4 @@ if __name__ == "__main__": if args.loop: loop(vars(args)) else: - main(vars(args)) \ No newline at end of file + main(vars(args)) diff --git a/requirements.txt b/requirements.txt index 651d147..962c238 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -requests -schedule \ No newline at end of file +requests==2.18.4 +schedule==0.4.3