Actually use the method instead of just checking it's existence

This commit is contained in:
Dannon Baker
2015-08-26 14:49:09 -04:00
parent 7b3fbcbd7f
commit 5e9d1becfc
+1 -1
View File
@@ -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.