mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-16 07:19:13 +08:00
Actually use the method instead of just checking it's existence
This commit is contained in:
@@ -2304,7 +2304,7 @@ class Tool( object, Dictifiable ):
|
||||
tool_dict = super( Tool, self ).to_dict()
|
||||
|
||||
# If an admin user, expose the path to the actual tool config XML file.
|
||||
if trans.user_is_admin:
|
||||
if trans.user_is_admin():
|
||||
tool_dict['config_file'] = os.path.abspath(self.config_file)
|
||||
|
||||
# Add link details.
|
||||
|
||||
Reference in New Issue
Block a user