mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Plugin framework: fix relative path parsing in PluginManager
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user