Commit 6f3499e2 by 冯佳佳

update

parent 522c6b92
......@@ -158,10 +158,10 @@ class MyNamespace(Namespace):
sn = ''.join(sn)
sn = '07' + sn
else:
emit('write_repair',
emit('read_sn',
{'data': None, 'error_code': 1003,
'error_message': '写入维修数据失败,请重试, write repair data error'})
emit('write_repair',
emit('read_sn',
{'data': sn, 'error_code': 0, 'error_message': 'success'})
except scard_error as e:
logger.info(e)
......
Markdown is supported
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