Commit a192995a by taufikyu

perbaiki waktu callback pemda

1 parent edfeb499
......@@ -58,7 +58,7 @@ def update_flagging(kd_bayar):
DBSession.commit()
def sendrpc(kd_bayar):
print('STARTING RPC CALLBACK PEMDA')
print(str(datetime.now()),'STARTING RPC CALLBACK PEMDA')
headers = {'Content-Type':'application/json'}
if not 'pemdaqris_url' in settings and not settings['pemdaqris_url']:
print('pemdaqris_url belum ada di settings')
......@@ -70,7 +70,6 @@ def sendrpc(kd_bayar):
data=json.dumps(dict(kd_bayar=kd_bayar)),
headers=headers,
verify=False)
print(str(datetime.now()))
print('KD BAYAR : {}'.format(kd_bayar))
print('Response RPC CALLBACK PEMDA : {}'.format(resp.content))
try:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!