mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
fix: [import urlextract parent] fix typo
This commit is contained in:
parent
074ada504a
commit
bae2fd79df
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ def get_item_filepath(item_id):
|
||||||
def add_item_parent_by_parent_id(parent_type, parent_id, item_id):
|
def add_item_parent_by_parent_id(parent_type, parent_id, item_id):
|
||||||
parent_item_id = get_obj_id_item_id(parent_type, parent_id)
|
parent_item_id = get_obj_id_item_id(parent_type, parent_id)
|
||||||
if parent_item_id:
|
if parent_item_id:
|
||||||
add_item_parent(item_parent, item_id)
|
add_item_parent(parent_item_id, item_id)
|
||||||
|
|
||||||
def add_item_parent(parent_item_id, item_id):
|
def add_item_parent(parent_item_id, item_id):
|
||||||
if not exist_item(parent_item_id):
|
if not exist_item(parent_item_id):
|
||||||
|
|
Loading…
Reference in a new issue