mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-10 08:38:28 +00:00
fix: [trackers] fix get_all_items_sources
This commit is contained in:
parent
ebcffd4b95
commit
19846997d9
1 changed files with 2 additions and 0 deletions
|
@ -182,6 +182,8 @@ def add_map_obj_id_item_id(obj_id, item_id, obj_type):
|
||||||
|
|
||||||
## COMMON ##
|
## COMMON ##
|
||||||
def _get_dir_source_name(directory, source_name=None, l_sources_name=set(), filter_dir=False):
|
def _get_dir_source_name(directory, source_name=None, l_sources_name=set(), filter_dir=False):
|
||||||
|
if not l_sources_name:
|
||||||
|
l_sources_name = set()
|
||||||
if source_name:
|
if source_name:
|
||||||
l_dir = os.listdir(os.path.join(directory, source_name))
|
l_dir = os.listdir(os.path.join(directory, source_name))
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue