fix: [import urlextract parent] fix typo

pull/497/head
Terrtia 2020-05-05 11:39:06 +02:00
parent 074ada504a
commit bae2fd79df
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ def get_item_filepath(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)
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):
if not exist_item(parent_item_id):