03-oct: migracion juanjo - rutas dinamicas (.py/.ps1/.ts) + changelog (apps, OmniRoute 3.8.51, UFW 5001)
This commit is contained in:
@@ -2,7 +2,7 @@ import requests
|
||||
import os
|
||||
from dotenv import load_dotenv
|
||||
|
||||
load_dotenv(r'C:\Users\juanm\Documents\GitHub\biblioteca_negocio_prolongo\.env')
|
||||
load_dotenv(os.path.expanduser('~/Documents/GitHub/biblioteca_negocio_prolongo/.env'))
|
||||
|
||||
url = os.getenv('HOMEASSISTANT_URL')
|
||||
token = os.getenv('HOMEASSISTANT_TOKEN')
|
||||
|
||||
Reference in New Issue
Block a user