Skip to content

Commit

Permalink
Fix choose_device import class name
Browse files Browse the repository at this point in the history
  • Loading branch information
zackfern authored and jwoglom committed Oct 3, 2024
1 parent 81b13f2 commit 51ac469
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tconnectsync/sync/tandemsource/heroku_helpers.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from ...features import DEFAULT_FEATURES
from .choose_device import TandemSourceChooseDevice
from .choose_device import ChooseDevice
from .process import ProcessTimeRange
from ... import secret

Expand All @@ -13,5 +13,5 @@ def run_oneshot(tconnect, nightscout, pretend=False, features=DEFAULT_FEATURES,
if not secret_arg:
secret_arg = secret

tconnectDevice = TandemSourceChooseDevice(secret_arg, tconnect).choose()
return ProcessTimeRange(tconnect, nightscout, tconnectDevice, pretend, features).process(time_start, time_end)
tconnectDevice = ChooseDevice(secret_arg, tconnect).choose()
return ProcessTimeRange(tconnect, nightscout, tconnectDevice, pretend, features).process(time_start, time_end)

0 comments on commit 51ac469

Please sign in to comment.