diff options
Diffstat (limited to 'glucometerutils/common.py')
-rw-r--r-- | glucometerutils/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glucometerutils/common.py b/glucometerutils/common.py index 0fcda80..dae8c8c 100644 --- a/glucometerutils/common.py +++ b/glucometerutils/common.py @@ -59,10 +59,10 @@ def convert_glucose_unit(value, from_unit, to_unit=None): _ReadingBase = collections.namedtuple( '_ReadingBase', ['timestamp', 'value', 'meal', 'comment', 'measure_method']) -class Reading(_ReadingBase): - """Constructor for the reading object. +class GlucoseReading(_ReadingBase): def __new__(cls, timestamp, value, meal=NO_MEAL, comment='', measure_method=BLOOD_SAMPLE): + """Constructor for the glucose reading object. Args: timestamp: (datetime) Timestamp of the reading as reported by the meter. |