aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/nb.py
diff options
context:
space:
mode:
authordennis <d@ennis.no>2023-02-05 20:19:33 +0100
committerdennis <d@ennis.no>2023-02-05 20:19:33 +0100
commit5ddd61b1656df80badd850da7fa0900eaa07331e (patch)
tree2a53686aac48e2e0e1254e32d470d264b6d2ba00 /scripts/nb.py
parentadding location and rooms (diff)
downloadenergyscripts-5ddd61b1656df80badd850da7fa0900eaa07331e.tar.gz
remove starting space
Diffstat (limited to 'scripts/nb.py')
-rw-r--r--scripts/nb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nb.py b/scripts/nb.py
index 88d40c5..db65cf7 100644
--- a/scripts/nb.py
+++ b/scripts/nb.py
@@ -60,7 +60,7 @@ with open(temp.name, encoding="utf-8") as csvfile:
temp.close()
# SQL
-sql = """ INSERT INTO nbex
+sql = """INSERT INTO nbex
VALUES(%s, %s, %s, %s)
ON CONFLICT (startdate,base_cur,quote_cur) DO NOTHING"""