summaryrefslogtreecommitdiffstats
path: root/glucometer.py
diff options
context:
space:
mode:
authorSamuel Martin <s.martin49@gmail.com>2017-09-23 10:10:10 +0200
committerDiego Elio Pettenò <flameeyes@flameeyes.eu>2017-09-25 16:12:06 +0200
commit1bc6f7c89687c079acbbe242e862ffc66db07df5 (patch)
tree7d0b13ac8d9da4e3a467a89b88cac2b909b06220 /glucometer.py
parentcommon: add measure_method field to _ReadingBase class (diff)
downloadglucometerutils-1bc6f7c89687c079acbbe242e862ffc66db07df5.tar
glucometerutils-1bc6f7c89687c079acbbe242e862ffc66db07df5.tar.gz
glucometerutils-1bc6f7c89687c079acbbe242e862ffc66db07df5.tar.bz2
glucometerutils-1bc6f7c89687c079acbbe242e862ffc66db07df5.tar.lz
glucometerutils-1bc6f7c89687c079acbbe242e862ffc66db07df5.tar.xz
glucometerutils-1bc6f7c89687c079acbbe242e862ffc66db07df5.tar.zst
glucometerutils-1bc6f7c89687c079acbbe242e862ffc66db07df5.zip
Diffstat (limited to 'glucometer.py')
-rwxr-xr-xglucometer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glucometer.py b/glucometer.py
index f4c1be7..385653c 100755
--- a/glucometer.py
+++ b/glucometer.py
@@ -52,7 +52,7 @@ def main():
help='Select the unit to use for the dumped data.')
parser_dump.add_argument(
'--sort-by', action='store', default='timestamp',
- choices=common.Reading._fields,
+ choices=common._ReadingBase._fields,
help='Field to order the dumped data by.')
parser_date = subparsers.add_parser(