commit | 634827e9d1d435d2cc69da857614677c0a981e06 | [log] [tgz] |
---|---|---|
author | Cheng Tang <cheng.tang@supwisdom.com> | 周三 2月 27 09:32:58 2013 +0800 |
committer | Cheng Tang <cheng.tang@supwisdom.com> | 周三 2月 27 09:36:04 2013 +0800 |
tree | e9f270e90de9518c0cb471d69657c308148531e3 | |
parent | 4a7dac44002c9014c9c8289bbabea35304b4a4c3 [diff] [blame] |
修改对电子现金的支持
diff --git a/tcutils/pbocfunc.py b/tcutils/pbocfunc.py index 7c4fe90..c0dff91 100644 --- a/tcutils/pbocfunc.py +++ b/tcutils/pbocfunc.py
@@ -150,7 +150,7 @@ offset = 0 while offset < datalen: t = ord(data[offset]) - if t & 0x0F == 0x0F and (t not in (0x4f, 0x8f)): + if t & 0x0F == 0x0F and (t not in (0x4f, 0x8f, 0x6f)): tag = data[offset:offset + 2] offset += 2 else: