Commit f15b1dd1 by PCPD Kota Banjar

Bug fixed saat bit 32 is None

1 parent 49998e94
......@@ -143,13 +143,12 @@ def get_iso(raw, iso_class, debug=False):
def get_channel_name(bit_018, bit_032, bit_041, bit_042, bit_043):
bit_032 = bit_032.lstrip('0')
bit_032 = bit_032 and bit_032.lstrip('0')
if bit_032 and bit_032 in BANK_NAMES:
return BANK_NAMES[bit_032]
if not bit_018:
return 'LAINNYA'
bit_018 = bit_018.strip()
# if bit_018 = '6025':
bit_041 = bit_041.strip()
bit_042 = bit_042.strip()
bit_043 = bit_043.strip()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!