Commit b286c34f by solo
2 parents dac4310c 848a4c60
...@@ -59,7 +59,7 @@ class Vendor(VendorClass): ...@@ -59,7 +59,7 @@ class Vendor(VendorClass):
def response_field(self): def response_field(self):
resp = self.response resp = self.response
if resp["code"] == 200 and resp["is_error"] == 0: if resp["code"] == 200 and resp["is_error"] == 0 and resp["content"]:
data = resp["content"] data = resp["content"]
pokok = int(data["biaya_tagihan"] or '0') pokok = int(data["biaya_tagihan"] or '0')
denda = 0 denda = 0
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!