mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
Tool warnings can be either None or a dictionary but not a string
This commit is contained in:
@@ -2430,7 +2430,7 @@ class Tool(Dictifiable):
|
||||
|
||||
# load job parameters into incoming
|
||||
tool_message = ""
|
||||
tool_warnings = ""
|
||||
tool_warnings = None
|
||||
if job:
|
||||
try:
|
||||
job_params = job.get_param_values(self.app, ignore_errors=True)
|
||||
|
||||
Reference in New Issue
Block a user