def get_program (self, args):
    params = self.get_params(args)
    program = dict(clock=None)
    if params.get('to', None) is None and params.get('input'):
      program.update(clock=parse(json.load(argparse.FileType('r')(params.get('input')))))
    else:
      if params.get('to'):
        program.update(clock=parse_clock(params.get('to')))
    current_utc = self.dexcom.ReadSystemTime( )
    offset = current_utc - program['clock']
    program.update(offset=offset.total_seconds( ))

    return program
dataset/ETHPy150Open openaps/openaps/openaps/vendors/dexcom.py/UpdateTime.get_program/swapped operands of `-`