diff options
Diffstat (limited to 'tibber_prices2pgsql.py')
-rwxr-xr-x | tibber_prices2pgsql.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tibber_prices2pgsql.py b/tibber_prices2pgsql.py index 5c0af5c..046072f 100755 --- a/tibber_prices2pgsql.py +++ b/tibber_prices2pgsql.py @@ -12,11 +12,11 @@ from tzlocal import get_localzone # variables -apiKey = os.environ['tibber_token'] +apiKey = os.environ['el_tibber_token'] apiUrl = "https://api.tibber.com/v1-beta/gql" -pg_db = os.environ['pg_db'] -pg_host = os.environ['pg_host'] +pg_db = os.environ['el_pg_db'] +pg_host = os.environ['el_pg_host'] pg_table = "tibber_prices" startTime = datetime.now(get_localzone()) - timedelta(days = 1) |