Commit 733e834
Adriano Sanges
Refactor scan_properties.py to improve environment variable loading
- Introduce a new function to load environment variables from multiple potential .env file locations
- Enhance error handling by providing a warning if no .env file is found
- Streamline the loading process for better configuration management1 parent c3d1b4b commit 733e834
2 files changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
10 | 17 | | |
| 18 | + | |
11 | 19 | | |
12 | 20 | | |
13 | 21 | | |
14 | 22 | | |
15 | | - | |
16 | | - | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| |||
0 commit comments