aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/common/postgres.py
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2023-02-04 14:18:18 +0100
committerDennis Eriksen <d@ennis.no>2023-02-04 14:18:18 +0100
commiteb5e90aded9a7259ddecc94d9244393fa5abd2e6 (patch)
tree8e166a3bec6435c1490cff04cd704ae847b47eba /scripts/common/postgres.py
parentqueue sleep as variable (diff)
downloadenergyscripts-eb5e90aded9a7259ddecc94d9244393fa5abd2e6.tar.gz
moving some variables around
Diffstat (limited to 'scripts/common/postgres.py')
-rw-r--r--scripts/common/postgres.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/common/postgres.py b/scripts/common/postgres.py
index bff0720..bff4a84 100644
--- a/scripts/common/postgres.py
+++ b/scripts/common/postgres.py
@@ -24,5 +24,5 @@ def dbi(sql, values, **kwargs):
print('`values` is a', type(values), 'but it needs to be tuple or list')
sys.exit(1)
if verbose is True:
- print("Inserted and/or changed", cur.rowcount, "rows into db")
+ print("Inserted and/or changed", cur.rowcount, "rows in db")
return True