pywebexec 1.2.4__py3-none-any.whl → 1.2.5__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
pywebexec/pywebexec.py CHANGED
@@ -277,6 +277,8 @@ def parseargs():
277
277
  sys.exit(1)
278
278
  if not os.path.exists(COMMAND_STATUS_DIR):
279
279
  os.makedirs(COMMAND_STATUS_DIR)
280
+ if not os.path.exists(CONFDIR):
281
+ os.mkdir(CONFDIR, mode=0o700)
280
282
  if args.gencert:
281
283
  hostname = resolve_hostname(gethostname())
282
284
  args.cert = args.cert or f"{CONFDIR}/pywebexec.crt"
@@ -582,8 +584,6 @@ def list_executables():
582
584
 
583
585
  def main():
584
586
  basef = f"{CONFDIR}/pywebexec_{args.listen}:{args.port}"
585
- if not os.path.exists(CONFDIR):
586
- os.mkdir(CONFDIR, mode=0o700)
587
587
  if args.action == "start":
588
588
  return start_gunicorn(daemon=True, baselog=basef)
589
589
  if args.action:
pywebexec/version.py CHANGED
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '1.2.4'
16
- __version_tuple__ = version_tuple = (1, 2, 4)
15
+ __version__ = version = '1.2.5'
16
+ __version_tuple__ = version_tuple = (1, 2, 5)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pywebexec
3
- Version: 1.2.4
3
+ Version: 1.2.5
4
4
  Summary: Simple Python HTTP Exec Server
5
5
  Home-page: https://github.com/joknarf/pywebexec
6
6
  Author: Franck Jouvanceau
@@ -1,6 +1,6 @@
1
1
  pywebexec/__init__.py,sha256=4spIsVaF8RJt8S58AG_wWoORRNkws9Iwqprj27C3ljM,99
2
- pywebexec/pywebexec.py,sha256=fEa7BPsra8ALJSPHj9z4Keyfv4r_zUBqE2hTmH4Njmk,22657
3
- pywebexec/version.py,sha256=DFpsAdSrahcTSWRccxC8nEJpgcmby0LdmRoAddZy2zA,411
2
+ pywebexec/pywebexec.py,sha256=TcVwqPBqn1abvGtHKDaiEKTBJd34FLKNgNmp6k5oTl4,22657
3
+ pywebexec/version.py,sha256=TMr8LMYqwOxH8ns1ajG19R94v90dG1s-k6RDNmWW25E,411
4
4
  pywebexec/static/css/style.css,sha256=nvZ6RJ-0PGYDzA2ZnNN__C1oONYkEao_XkNgdRXQ1lM,3607
5
5
  pywebexec/static/css/xterm.css,sha256=gy8_LGA7Q61DUf8ElwFQzHqHMBQnbbEmpgZcbdgeSHI,5383
6
6
  pywebexec/static/images/aborted.svg,sha256=_mP43hU5QdRLFZIknBgjx-dIXrHgQG23-QV27ApXK2A,381
@@ -17,9 +17,9 @@ pywebexec/static/js/xterm/xterm-addon-fit.js,sha256=Pprm9pZe4SadVXS5Bc8b9VnC9Ex4
17
17
  pywebexec/static/js/xterm/xterm.js,sha256=Bzka76jZwEhVt_LlS0e0qMw7ryGa1p5qfxFyeohphBo,283371
18
18
  pywebexec/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
19
19
  pywebexec/templates/index.html,sha256=8dGO5qKZsAjbmsnrSbhrPN2I2_Jaxle7F3GTOcfkaLM,1689
20
- pywebexec-1.2.4.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
21
- pywebexec-1.2.4.dist-info/METADATA,sha256=gJn5WOV_Fgcxu2ax9krThpXbPDVv0LV1WfhWlvg1D0Y,6936
22
- pywebexec-1.2.4.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
23
- pywebexec-1.2.4.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
24
- pywebexec-1.2.4.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
25
- pywebexec-1.2.4.dist-info/RECORD,,
20
+ pywebexec-1.2.5.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
21
+ pywebexec-1.2.5.dist-info/METADATA,sha256=yUJN7AWCAXDr_XT6uwDuPqtmkWbySq6826gBmZEj3sI,6936
22
+ pywebexec-1.2.5.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
23
+ pywebexec-1.2.5.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
24
+ pywebexec-1.2.5.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
25
+ pywebexec-1.2.5.dist-info/RECORD,,