SQL-Connection closed vor Prg-Ende

This commit is contained in:
hubobel 2019-02-14 17:31:08 +01:00
parent 952e57cf3e
commit fb5b343025

View file

@ -48,6 +48,7 @@ while start <= anzahl:
print('Es gab ein Problem beim Schreiben des facts in die DB')
connection.commit()
start +=1
time.sleep(5)
time.sleep(1)
cursor.close()
connection.close()