Fixes in tasks for return urls
This commit is contained in:
parent
364b209852
commit
472ca499e7
2 changed files with 3 additions and 1 deletions
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -82,6 +82,8 @@ class Task:
|
|||
|
||||
self.remote_path=remote_path
|
||||
|
||||
self.url_return=''
|
||||
|
||||
"""
|
||||
self.pre_task=None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue