Commit afb3668e by Owo Sugiana

Bug fixed pada mitracomm.py

1 parent f2334d4d
0.1.5 2020-04-25
0.1.5 2020-04-28
----------------
- Bug fixed pada mitracomm.py
- Bug fixed pada ISO8583.__setBitTypeANS() dimana seharusnya menggunakan
ljust() ketimbang zfill()
......
......@@ -33,7 +33,7 @@ class Streamer(BaseStreamer):
# Override Stremer.set
def set(self, raw):
size = len(raw)
a = size / 256
a = int(size / 256)
b = size % 256
header = chr(a) + chr(b)
return header + raw
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!