Fixes for archlinux
This commit is contained in:
parent
1700734c2a
commit
04ddeb761e
6 changed files with 55 additions and 11 deletions
|
|
@ -528,7 +528,7 @@ def pastafari2_make_task():
|
|||
if config.reloader:
|
||||
reload(task_execute)
|
||||
|
||||
task_first=task_execute.ServerTask('', db, remote_user='root', remote_password='', private_key='./ssh/id_rsa', password_key='', remote_path='pastafari2', task_id=0, data={})
|
||||
task_first=task_execute.ServerTask('', db, remote_user='root', remote_password='', private_key='./ssh/id_rsa', password_key='', remote_path='pastafari2', task_id=0, data=dict(request.args))
|
||||
|
||||
send_task=request.args.get('send_task', '')
|
||||
|
||||
|
|
@ -550,17 +550,17 @@ def pastafari2_make_task():
|
|||
|
||||
if hasattr(task_first, 'form'):
|
||||
|
||||
url_exec=url_for('.pastafari2_make_task', send_task=1)
|
||||
url_exec=url_for('.pastafari2_make_task', send_task=1, **request.args)
|
||||
|
||||
links='<a href="'+url_for('admin_app.pastafari2_dashboard')+'">'+I18n.lang('pastafari2', 'servers', 'Servers')+'</a>'
|
||||
|
||||
path_module='admin_app.pastafari2_dashboard'
|
||||
|
||||
if hasattr(task_first, 'links'):
|
||||
links=task_firs.links
|
||||
links=task_first.links
|
||||
|
||||
if hasattr(task_first, 'path_module'):
|
||||
links=task_firs.path_module
|
||||
path_module=task_first.path_module
|
||||
|
||||
return t.load_template('maketask.phtml', title=I18n.lang('pastafari2', 'make_task', 'Make task'), form=task_first.form(t, yes_error=False, pass_values=False), url_exec=url_exec, ids=json_ids, task_file=task_path, links=links, path_module=path_module)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue