fixed bug where only part of the path was joined.

This commit is contained in:
Rudi Grinberg 2012-11-19 16:06:36 -05:00
parent e46da35d3b
commit 6101e9dfe3
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ def autoscan_instances(main_cfg):
for instance_machine in list_dirs(root):
instance_machine = join(root, 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)
instances.append(ai)
return instances