remove debug print
authorgregor herrmann <gregor@toastfreeware.priv.at>
Fri, 27 Jul 2018 22:03:31 +0000 (00:03 +0200)
committergregor herrmann <gregor@toastfreeware.priv.at>
Fri, 27 Jul 2018 22:03:31 +0000 (00:03 +0200)
owm.py

diff --git a/owm.py b/owm.py
index c41c3198039ba9526f8b158a79d87c06c32ccff4..c36064f56e7556fa9e4b9c1f89df7c903dec6241 100755 (executable)
--- a/owm.py
+++ b/owm.py
@@ -86,7 +86,6 @@ def write_db(config, url, weather_json, weather_data):
     sql_columns = list(row.keys())
     sql_values = list(row.values())
     sql = 'insert into openweathermap ({}) values ({})'.format(', '.join(sql_columns), ','.join(['%s'] * len(sql_columns)))
-    print(sql)
     conn.execute(sql, *sql_values)
     conn.close()