Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
opensipkd-iso8583
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit afb3668e
authored
Apr 28, 2020
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Bug fixed pada mitracomm.py
1 parent
f2334d4d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
CHANGES.txt
opensipkd/streamer/mitracomm.py
CHANGES.txt
View file @
afb3668
0.1.5 2020-04-2
5
0.1.5 2020-04-2
8
----------------
- Bug fixed pada mitracomm.py
- Bug fixed pada ISO8583.__setBitTypeANS() dimana seharusnya menggunakan
ljust() ketimbang zfill()
...
...
opensipkd/streamer/mitracomm.py
View file @
afb3668
...
...
@@ -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
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment