Skip to content
Snippets Groups Projects
Commit c318fef4 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #10339: type cast for lookup in dict

parent 3863c15d
No related branches found
No related tags found
No related merge requests found
......@@ -181,7 +181,7 @@ class IngestMomAdapter:
if 'otdb_id' not in job_dict:
return
otdb_id = job_dict['otdb_id']
otdb_id = int(job_dict['otdb_id'])
mom2id = self.__momrpc.getMoMIdsForOTDBIds(otdb_id).get(otdb_id)
if mom2id is None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment