Commit 75314a21 by Aplikasi Samsat Banten
2 parents 0f83a43d 9ba4bd50
...@@ -61,6 +61,7 @@ def log_error(s): ...@@ -61,6 +61,7 @@ def log_error(s):
def iso_to_dict(iso): def iso_to_dict(iso):
data = iso.get_values() data = iso.get_values()
print("DEBUG data", data)
return dict_to_str(data) return dict_to_str(data)
...@@ -525,7 +526,7 @@ def usage(argv): ...@@ -525,7 +526,7 @@ def usage(argv):
def check_connection(): def check_connection():
log_info("Check Connection") # log_info("Check Connection")
for ip_port in ip_conf: for ip_port in ip_conf:
if ip_port in conn_mgr: if ip_port in conn_mgr:
index = -1 index = -1
...@@ -549,7 +550,7 @@ def check_connection(): ...@@ -549,7 +550,7 @@ def check_connection():
def check_job(): def check_job():
log_info("Check Job") # log_info("Check Job")
for ip_port, connection in conn_mgr: for ip_port, connection in conn_mgr:
if not connection.running: if not connection.running:
continue continue
...@@ -571,7 +572,7 @@ def check_job(): ...@@ -571,7 +572,7 @@ def check_job():
def check_parser(): def check_parser():
log_info("Check Parser") # log_info("Check Parser")
i = -1 i = -1
while True: while True:
i += 1 i += 1
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!