Disabled one of the sanity checks, it doesn't work well after the bank fixed another bug. ~enleth
parent
e8e0d1a154
commit
934845032b
|
@ -187,8 +187,8 @@ class IBParser(object):
|
||||||
|
|
||||||
def parse(self, snapshot):
|
def parse(self, snapshot):
|
||||||
kek = u"IMPLR - STARVING - SKŁADKA ;".encode("utf-8")
|
kek = u"IMPLR - STARVING - SKŁADKA ;".encode("utf-8")
|
||||||
if snapshot.find(kek) == -1:
|
#if snapshot.find(kek) == -1:
|
||||||
raise IBParseError("double ; not found, format changed?")
|
# raise IBParseError("double ; not found, format changed?")
|
||||||
snapshot = snapshot.replace(kek, kek[:-1])
|
snapshot = snapshot.replace(kek, kek[:-1])
|
||||||
lines = snapshot.splitlines()
|
lines = snapshot.splitlines()
|
||||||
header = lines.pop(0).decode("utf-8").split(";")
|
header = lines.pop(0).decode("utf-8").split(";")
|
||||||
|
|
Loading…
Reference in New Issue