Skip to content

Commit

Permalink
fix non-autoupdate
Browse files Browse the repository at this point in the history
  • Loading branch information
jwoglom committed Dec 14, 2024
1 parent c7ade49 commit 29d08a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tconnectsync/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def main(*args, **kwargs):
sys.exit(u.process(tconnect, nightscout, time_start, time_end, args.pretend, features=args.features))
else:
tconnectDevice = TandemSourceChooseDevice(secret, tconnect).choose()
added, last_event_id = TandemSourceProcessTimeRange(tconnect, nightscout, tconnectDevice, pretend=args.pretend, features=args.features).process(time_start, time_end)
added, last_event_id = TandemSourceProcessTimeRange(tconnect, nightscout, tconnectDevice, pretend=args.pretend, secret=secret, features=args.features).process(time_start, time_end)

# return exit code 0 if processed events
sys.exit(0 if added>0 else 1)
Expand Down

0 comments on commit 29d08a7

Please sign in to comment.