add dotenv demo.

This commit is contained in:
2025-07-05 12:56:01 +08:00
parent 879d131f1c
commit 68f1d9e24f
2 changed files with 6 additions and 1 deletions

6
.env_demo Normal file
View File

@ -0,0 +1,6 @@
uname=20240000000
password=123456
recap_username=this_is_recap_unam
recap_password=123456
SC_KEY=this_is_sc_key
FILE = "lessons.xlsx"

View File

@ -64,7 +64,6 @@ class Lessons:
"recap_username",
"recap_password",
"FILE",
"SC_KEY",
]
for key in required_keys:
if not environ.get(key):