pywebexec 0.1.0__tar.gz → 0.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pywebexec-0.1.0/pywebexec.egg-info → pywebexec-0.1.1}/PKG-INFO +1 -1
- {pywebexec-0.1.0 → pywebexec-0.1.1}/pywebexec/pywebexec.py +6 -2
- {pywebexec-0.1.0 → pywebexec-0.1.1}/pywebexec/version.py +2 -2
- {pywebexec-0.1.0 → pywebexec-0.1.1/pywebexec.egg-info}/PKG-INFO +1 -1
- {pywebexec-0.1.0 → pywebexec-0.1.1}/.github/workflows/python-publish.yml +0 -0
- {pywebexec-0.1.0 → pywebexec-0.1.1}/.gitignore +0 -0
- {pywebexec-0.1.0 → pywebexec-0.1.1}/LICENSE +0 -0
- {pywebexec-0.1.0 → pywebexec-0.1.1}/README.md +0 -0
- {pywebexec-0.1.0 → pywebexec-0.1.1}/pyproject.toml +0 -0
- {pywebexec-0.1.0 → pywebexec-0.1.1}/pywebexec/__init__.py +0 -0
- {pywebexec-0.1.0 → pywebexec-0.1.1}/pywebexec/static/images/aborted.svg +0 -0
- {pywebexec-0.1.0 → pywebexec-0.1.1}/pywebexec/static/images/copy.svg +0 -0
- {pywebexec-0.1.0 → pywebexec-0.1.1}/pywebexec/static/images/copy_ok.svg +0 -0
- {pywebexec-0.1.0 → pywebexec-0.1.1}/pywebexec/static/images/failed.svg +0 -0
- {pywebexec-0.1.0 → pywebexec-0.1.1}/pywebexec/static/images/running.svg +0 -0
- {pywebexec-0.1.0 → pywebexec-0.1.1}/pywebexec/static/images/success.svg +0 -0
- {pywebexec-0.1.0 → pywebexec-0.1.1}/pywebexec/templates/__init__.py +0 -0
- {pywebexec-0.1.0 → pywebexec-0.1.1}/pywebexec/templates/index.html +0 -0
- {pywebexec-0.1.0 → pywebexec-0.1.1}/pywebexec.egg-info/SOURCES.txt +0 -0
- {pywebexec-0.1.0 → pywebexec-0.1.1}/pywebexec.egg-info/dependency_links.txt +0 -0
- {pywebexec-0.1.0 → pywebexec-0.1.1}/pywebexec.egg-info/entry_points.txt +0 -0
- {pywebexec-0.1.0 → pywebexec-0.1.1}/pywebexec.egg-info/requires.txt +0 -0
- {pywebexec-0.1.0 → pywebexec-0.1.1}/pywebexec.egg-info/top_level.txt +0 -0
- {pywebexec-0.1.0 → pywebexec-0.1.1}/setup.cfg +0 -0
|
@@ -11,7 +11,7 @@ import random
|
|
|
11
11
|
import string
|
|
12
12
|
from datetime import datetime
|
|
13
13
|
import shlex
|
|
14
|
-
from gunicorn.app.base import
|
|
14
|
+
from gunicorn.app.base import Application
|
|
15
15
|
|
|
16
16
|
app = Flask(__name__)
|
|
17
17
|
auth = HTTPBasicAuth()
|
|
@@ -311,7 +311,11 @@ def list_scripts():
|
|
|
311
311
|
script_id = filename[:-5]
|
|
312
312
|
status = read_script_status(script_id)
|
|
313
313
|
if status:
|
|
314
|
-
|
|
314
|
+
try:
|
|
315
|
+
params = shlex.join(status['params'])
|
|
316
|
+
except AttributeError:
|
|
317
|
+
params = " ".join([shlex.quote(p) if " " in p else p for p in status['params']])
|
|
318
|
+
command = status['script_name'] + ' ' + params
|
|
315
319
|
scripts.append({
|
|
316
320
|
'script_id': script_id,
|
|
317
321
|
'status': status['status'],
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|