Fixes in tasks for return urls

This commit is contained in:
absurdo 2023-06-01 01:44:46 +02:00
parent 364b209852
commit 472ca499e7
2 changed files with 3 additions and 1 deletions

View file

@ -604,7 +604,7 @@ def pastafari2_make_task():
ssh_key_priv='./ssh/id_rsa'
if not task.run_task(server_host, path_task, task_first.name_task, task_first.codename_task, task_first.description_task, user=user, password='', where_sql_server=where_sql, ssh_key_priv=ssh_key_priv, url='', data=data, send_task=True):
if not task.run_task(server_host, path_task, task_first.name_task, task_first.codename_task, task_first.description_task, user=user, password='', where_sql_server=where_sql, ssh_key_priv=ssh_key_priv, url=task_firs.url_return, data=data, send_task=True):
error=1
error_form['#server_host_error']=I18n.lang('pastafari2', 'error_exec_task', 'Error: cannot execute the task')