make interval bigger by default
Marco Andronaco andronacomarco@gmail.com
Mon, 30 Jan 2023 13:14:04 +0100
2 files changed,
6 insertions(+),
1 deletions(-)
M
.env.example
→
.env.example
@@ -1,3 +1,4 @@
url="https://localhost:8000" email="example@gmail.com" password="abcdefghijklmnop" +interval=30
M
main.py
→
main.py
@@ -4,5 +4,9 @@ from dotenv import load_dotenv
load_dotenv() if __name__ == "__main__": - monitor(os.getenv("url"), os.getenv("email"), os.getenv("password"), interval=1) + monitor(os.getenv("url"), + os.getenv("email"), + os.getenv("password"), + interval=os.getenv("interval") + )