Commit a2246bbf authored by anthraxx's avatar anthraxx
Browse files

ignore checksum because #yolo

parent f746895c
......@@ -57,6 +57,8 @@ class Logic(object):
def handle_scanned_text(self, scanned_text):
if scanned_text.startswith(self.USER_ID_PREFIX):
# TODO: add proper checksum
scanned_text = scanned_text[:-1]
customer_id = int(scanned_text[len(self.USER_ID_PREFIX):])
if self.state == self.State.Idle:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment