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

Task #10057: int keys vs str keys

parent 41d520ac
No related branches found
No related tags found
No related merge requests found
......@@ -113,7 +113,7 @@ class PathResolver:
mom_details = self.momrpc.getProjectDetails(task['mom_id'])
if not mom_details or task['mom_id'] not in mom_details:
if not mom_details or int(task['mom_id']) not in mom_details:
message = "Could not find mom project details for otdb_id=%s mom_id=%s radb_id=%s" % (task['otdb_id'], task['mom_id'], task['id'])
logger.error(message)
return {'found': False, 'message': message, 'path': None}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment