Commit 2c460f4b by Owo Sugiana

getRawIso() tidak ditimpa

1 parent 708fdd87
......@@ -33,11 +33,11 @@ class BaseISO8583(ISO8583):
self, bit, short_name, long_name, type_, LenForm, size,
valueType, format_)
def getRawIso(self):
raw = ISO8583.getRawIso(self)
if isinstance(raw, bytes):
raw = raw.decode('utf-8')
return raw.upper()
#def getRawIso(self):
# raw = ISO8583.getRawIso(self)
# if isinstance(raw, bytes):
# raw = raw.decode('utf-8')
# return raw.upper()
#def setIsoContent(self, raw):
# ISO8583.setIsoContent(self, raw.encode('utf-8'))
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!