From 8f0e01c43d5951329781c6f61c33a3937b8f46d0 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Fri, 1 Sep 2023 06:44:42 +0800 Subject: fixed logic --- main.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/main.py b/main.py index 6b6f41e..c00ca97 100644 --- a/main.py +++ b/main.py @@ -47,7 +47,9 @@ def main(): return f'Error: {response.status_code} - {response.text}' if __name__ == "__main__": + cache = None while 1: - #print( - main() - #) + while cache == None: + cache = main() + print(cache) + cache = main() -- cgit v1.2.3