diff options
Diffstat (limited to 'glucometerutils/support/construct_extras.py')
-rw-r--r-- | glucometerutils/support/construct_extras.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/glucometerutils/support/construct_extras.py b/glucometerutils/support/construct_extras.py index 7abcd9e..b44ee84 100644 --- a/glucometerutils/support/construct_extras.py +++ b/glucometerutils/support/construct_extras.py @@ -7,6 +7,7 @@ import datetime import construct + class Timestamp(construct.Adapter): """Adapter for converting datetime object into timestamps. @@ -14,6 +15,7 @@ class Timestamp(construct.Adapter): and an optional epoch offset to the UNIX Epoch. """ + __slots__ = ["epoch"] def __init__(self, subcon, epoch=0): |