From 8c0d67e2d58687c821dae564a8d3b9f68bc0f165 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Mon, 16 Jan 2017 23:50:55 +0000 Subject: freestyle: raise NotImplementedError when trying to zero-log. --- glucometerutils/support/freestyle.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/glucometerutils/support/freestyle.py b/glucometerutils/support/freestyle.py index 6322be7..db3dbee 100644 --- a/glucometerutils/support/freestyle.py +++ b/glucometerutils/support/freestyle.py @@ -183,6 +183,10 @@ class FreeStyleHidDevice(object): return self.get_datetime() + def zero_log(self): + """Not implemented, Abbott devices don't allow resetting memory.""" + raise NotImplementedError + def _get_multirecord(self, command): """Queries for, and returns, "multirecords" results. -- cgit v1.2.3