Plugin framework: fix relative path parsing in PluginManager

This commit is contained in:
Carl Eberhard
2013-09-18 14:49:58 -04:00
parent 79f3769077
commit f131a96c46
+1 -1
View File
@@ -93,7 +93,7 @@ class PluginManager( object ):
for directory in util.listify( directories_setting ):
directory = directory.strip()
if directory.startswith( '/' ):
if not directory.startswith( '/' ):
directory = os.path.join( galaxy_root, directory )
if not os.path.exists( directory ):
log.warn( '%s, directory not found: %s', self, directory )