Skip to content
Snippets Groups Projects
Commit ea760c7f authored by Marko Mecina's avatar Marko Mecina
Browse files

cast PID to int when obtained from MIB

parent 3c343373
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ def reload_dp_data(): ...@@ -40,7 +40,7 @@ def reload_dp_data():
def get_data_pool_sublist(): def get_data_pool_sublist():
for counter in list_of_data_pool: for counter in list_of_data_pool:
pcf_pid = str(counter[0]) pcf_pid = str(int(counter[0])) # cast PID to int in case data type is wrong in MIB SQL (e.g. in CHEOPS)
pcf_descr = str(counter[1]) pcf_descr = str(counter[1])
pcf_ptc = counter[2] pcf_ptc = counter[2]
pcf_pfc = counter[3] pcf_pfc = counter[3]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment