We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 759021f commit 4453b2cCopy full SHA for 4453b2c
bloom/Trawlwatcher.py
@@ -10,10 +10,14 @@
10
layout="wide",
11
)
12
13
+class EnvFileNotFoundError(FileNotFoundError):
14
+ def __init__(self, env_path:str) -> None:
15
+ super().__init__(f"Couldn't find .env file at {env_path}")
16
+
17
# FILL IN YOUR CREDENTIALS .env file HERE !!
-env_path = Path('.') / '.env.template'
18
+env_path = Path('.') / '.env.template2'
19
if not env_path.is_file():
- raise FileNotFoundError(f"Couldn't find .env file at {env_path.absolute()}")
20
+ raise EnvFileNotFoundError(env_path.absolute())
21
load_dotenv(env_path)
22
23
def local_css(file_name: str) -> None:
0 commit comments