Fixed extra_dir ('job_works') doesn't overwrite from objectstore xml.

This commit is contained in:
Charles
2015-06-15 07:07:49 +00:00
parent 723c10769f
commit b47500618a
+1 -1
View File
@@ -208,7 +208,7 @@ class DiskObjectStore(ObjectStore):
if e.tag == 'files_dir':
self.file_path = e.get('path')
else:
self.extra_dirs[e.tag] = e.get('path')
self.extra_dirs[e.get('type')] = e.get('path')
if extra_dirs is not None:
self.extra_dirs.update( extra_dirs )