修改对电子现金的支持
diff --git a/setup.py b/setup.py
index 7f9fce5..2ebef96 100644
--- a/setup.py
+++ b/setup.py
@@ -22,7 +22,7 @@
setup(
name = 'tcutils',
- version = "0.2",
+ version = "0.3",
description = "Cheng Tang 's python libraries",
author = 'Cheng Tang',
author_email = 'cashtang@gmail.com',
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: