diff options
-rwxr-xr-x | bin/ebus_dump.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bin/ebus_dump.py b/bin/ebus_dump.py index 2d6933c..c170849 100755 --- a/bin/ebus_dump.py +++ b/bin/ebus_dump.py @@ -36,9 +36,7 @@ class MyEbusReader(EbusReader): for field in self.sql.get_values(ebus_packet): session.add(field) - if int(time.time()) % 4 == 0: - logger.info("COMMIT") - session.commit() + session.commit() logger.info("packet %s" % ebus_packet.name()) |