From 42fd6fcdd9f2a82756bf312609bcecf427a63ab7 Mon Sep 17 00:00:00 2001 From: Xtao_dada Date: Fri, 2 Jul 2021 13:41:21 +0800 Subject: [PATCH] Update main.py --- main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index a159e1d..9c02ab0 100644 --- a/main.py +++ b/main.py @@ -1,8 +1,11 @@ from FR2T import fr2t +from time import sleep if __name__ == "__main__": config_path = "data/config.yaml" rss_path = "data/rss.yaml" fr = fr2t.FR2T(config_path, rss_path) - fr.run() + while: + fr.run() + sleep(600)