diff options
author | dennis <d@ennis.no> | 2023-02-05 20:19:33 +0100 |
---|---|---|
committer | dennis <d@ennis.no> | 2023-02-05 20:19:33 +0100 |
commit | 5ddd61b1656df80badd850da7fa0900eaa07331e (patch) | |
tree | 2a53686aac48e2e0e1254e32d470d264b6d2ba00 /scripts/tibber_prices.py | |
parent | adding location and rooms (diff) | |
download | energyscripts-5ddd61b1656df80badd850da7fa0900eaa07331e.tar.gz |
remove starting space
Diffstat (limited to 'scripts/tibber_prices.py')
-rw-r--r-- | scripts/tibber_prices.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tibber_prices.py b/scripts/tibber_prices.py index 05db9a5..809a74c 100644 --- a/scripts/tibber_prices.py +++ b/scripts/tibber_prices.py @@ -79,7 +79,7 @@ for item in data["data"]["viewer"]["homes"][0]["currentSubscription"]["priceInfo item["level"])) # SQL -sql = """ INSERT INTO tibber_prices +sql = """INSERT INTO tibber_prices VALUES(%s, %s, %s, %s, %s) ON CONFLICT (startsat) DO NOTHING""", |