Mercurial > libervia-web
changeset 1262:3fc3f2cde6a1
taks (brython): fixed prepare()
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 04 May 2020 10:07:45 +0200 |
parents | a46d0e0f383b |
children | 0fb1b8ace24b |
files | libervia/server/tasks/implicit/task_brython.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libervia/server/tasks/implicit/task_brython.py Sun May 03 21:07:23 2020 +0200 +++ b/libervia/server/tasks/implicit/task_brython.py Mon May 04 10:07:45 2020 +0200 @@ -65,7 +65,7 @@ "cache": True, "pythonpath": [f"/{C.BUILD_DIR}", import_url], } - dyn_data.setdefault('scripts', set()).extend([ + dyn_data.setdefault('scripts', []).extend([ {"src": f"/{C.BUILD_DIR}/brython.js"}, ]) dyn_data.setdefault('template', {})['body_onload'] = (