Skip to content

Commit

Permalink
Added support for radio_locale parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
oskarpearson committed Nov 21, 2016
1 parent 0def80c commit 78a9979
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mmeowlink/vendors/mmeowlink.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,10 @@ def setup_medtronic (self):
# setup_logging(self)
setup_medtronic_link(self)
serial = self.device.get('serial')
self.mmtune = MMTune(self.pump.link, serial)
radio_locale = self.device.get('radio_locale')
if not radio_locale:
radio_locale = 'US'
self.mmtune = MMTune(self.pump.link, serial, radio_locale)

def main (self, args, app):
return self.mmtune.run( )
Expand Down

0 comments on commit 78a9979

Please sign in to comment.