fixed bug where only part of the path was joined.
This commit is contained in:
parent
e46da35d3b
commit
6101e9dfe3
|
@ -19,7 +19,7 @@ def autoscan_instances(main_cfg):
|
||||||
for instance_machine in list_dirs(root):
|
for instance_machine in list_dirs(root):
|
||||||
instance_machine = join(root, instance_machine)
|
instance_machine = join(root, instance_machine)
|
||||||
for instance_root in filter_instances(list_dirs(instance_machine)):
|
for instance_root in filter_instances(list_dirs(instance_machine)):
|
||||||
full_path = abspath(join(root,instance_root))
|
full_path = abspath(join(instance_machine,instance_root))
|
||||||
ai = AirtimeInstance.root_make(get_name(full_path), full_path)
|
ai = AirtimeInstance.root_make(get_name(full_path), full_path)
|
||||||
instances.append(ai)
|
instances.append(ai)
|
||||||
return instances
|
return instances
|
||||||
|
|
Loading…
Reference in New Issue