Commit 4a00122
Adriano Sanges
Refactor telegram_api.py to enhance environment variable loading
- Introduce a new function to load environment variables from multiple potential .env file locations
- Add warning message if no .env file is found, improving error handling
- Streamline the loading process for better configuration management1 parent 733e834 commit 4a00122
1 file changed
+9
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
7 | 15 | | |
8 | 16 | | |
9 | 17 | | |
| |||
0 commit comments