refactor: improved error handling, timeouts and use temp files
This commit is contained in:
+1
-1
@@ -1,8 +1,8 @@
|
||||
import os
|
||||
import environs
|
||||
|
||||
env = environs.Env()
|
||||
try:
|
||||
env = environs.Env()
|
||||
env.read_env("./.env")
|
||||
except FileNotFoundError:
|
||||
print("No .env file found, using os.environ.")
|
||||
|
||||
Reference in New Issue
Block a user