diff options
Diffstat (limited to 'nb2pgsql.py')
-rwxr-xr-x | nb2pgsql.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nb2pgsql.py b/nb2pgsql.py index 6a6ffe3..3993c41 100755 --- a/nb2pgsql.py +++ b/nb2pgsql.py @@ -15,8 +15,8 @@ from tzlocal import get_localzone # I'm not sure I understand Norges Banks json-model. It seems a lot easier to just get the CSV, and convert it to JSON. apiUrl = "https://data.norges-bank.no/api/data/EXR/B.EUR.NOK.SP?format=csv&locale=en" -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 = "nbex" startTime = datetime.now(get_localzone()) - timedelta(days = 10) |