Skip to content

Commit

Permalink
Merge pull request #191 from bewest/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
bewest authored Jun 17, 2016
2 parents b1d3f96 + 32ecfed commit 83079dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions decocare/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,7 @@ def decode (data):
for i in xrange(len(data)/3):
off = i*3
r, z, m = data[off : off + 3]
if [r,z,m] in [end, none]:
if i > 0 and [r,z,m] in [end, none]:
break
schedule.append(dict(i=i, minutes=m*30, start=str(lib.basal_time(m)), rate=r*.025))
return schedule
Expand Down Expand Up @@ -1817,4 +1817,3 @@ def get_pages(device):
#log.info(pformat(stick.interface_stats( )))
log.info("howdy! we downloaded a lot of pump info successfully.")
# stick.open( )

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def readme():
return f.read()

setup(name='decocare',
version='0.0.29-dev', # http://semver.org/
version='0.0.30-dev', # http://semver.org/
description='Audit, inspect, and command MM insulin pumps.',
long_description=readme(),
author="Ben West",
Expand Down

0 comments on commit 83079dd

Please sign in to comment.