Commit 54e6de8b by BoxuanXu

change split type

1 parent c873c851
Showing with 2 additions and 2 deletions
......@@ -69,11 +69,11 @@ def get_path_from_db(modelid,seetanet_model):
return None,None
else:
path_name = str(result_atlas[0])
if path_name.find("::") == -1:
if path_name.find("|") == -1:
logging.info('get wrong parameters!')
return None,None
path_list = path_name.split("::")
path_list = path_name.split("|")
if len(path_list) != 2:
logging.info('get wrong parameters!')
else:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!