Skip to content

Commit

Permalink
Test load priv (#58)
Browse files Browse the repository at this point in the history
* add support for duo

* bump version

* remove debug
  • Loading branch information
onlykey authored Mar 23, 2022
1 parent fa8de1e commit b0042d2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions onlykey/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,10 +290,7 @@ def set_time(self, timestamp):
current_epoch_time = format(int(timestamp), 'x')
# pad with zeros for even digits
current_epoch_time = current_epoch_time.zfill(len(current_epoch_time) + len(current_epoch_time) % 2)
logging.debug('Setting current epoch time =', current_epoch_time)
payload = [int(current_epoch_time[i: i+2], 16) for i in range(0, len(current_epoch_time), 2)]

logging.debug('SENDING OKSETTIME:', [x for x in enumerate(payload)])
self.send_message(msg=Message.OKSETTIME, payload=payload)

def send_message(self, payload=None, msg=None, slot_id=None, message_field=None, from_ascii=False):
Expand Down

0 comments on commit b0042d2

Please sign in to comment.