pywebexec 2.0.2__py3-none-any.whl → 2.0.3__py3-none-any.whl

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/pywebexec.py CHANGED
@@ -626,7 +626,7 @@ def get_executable(cmd):
626
626
  with open(help_file, 'r') as hf:
627
627
  help_text = hf.read()
628
628
  schema_file = f"{cmd}.schema.yaml"
629
- schema = None
629
+ schema = {}}
630
630
  if os.path.exists(schema_file):
631
631
  with open(schema_file, 'r') as sf:
632
632
  schema = yaml.safe_load(sf)
@@ -636,9 +636,9 @@ def get_executable(cmd):
636
636
  def get_executables():
637
637
  executables_list = []
638
638
  for f in os.listdir('.'):
639
- exe = get_executable(f)
640
- if exe:
641
- executables_list.append(exe)
639
+ exe = get_executable(f)
640
+ if exe:
641
+ executables_list.append(exe)
642
642
  return sorted(executables_list, key=lambda x: x["command"])
643
643
 
644
644
 
pywebexec/version.py CHANGED
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '2.0.2'
21
- __version_tuple__ = version_tuple = (2, 0, 2)
20
+ __version__ = version = '2.0.3'
21
+ __version_tuple__ = version_tuple = (2, 0, 3)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: pywebexec
3
- Version: 2.0.2
3
+ Version: 2.0.3
4
4
  Summary: Simple Python HTTP Exec Server
5
5
  Home-page: https://github.com/joknarf/pywebexec
6
6
  Author: Franck Jouvanceau
@@ -1,8 +1,8 @@
1
1
  pywebexec/__init__.py,sha256=197fHJy0UDBwTTpGCGortZRr-w2kTaD7MxqdbVmTEi0,61
2
2
  pywebexec/host_ip.py,sha256=Ud_HTflWVQ8789aoQ2RZdT1wGI-ccvrwSWGz_c7T3TI,1241
3
- pywebexec/pywebexec.py,sha256=2ojor_qmFTNf56aiwCkVEW6-CD-Zz8DAr3O4a3LAvMc,40755
3
+ pywebexec/pywebexec.py,sha256=lVAzAhaWL6JOOx19cT1ARp4m2GFGI5r1tWhe1mCJgDE,40742
4
4
  pywebexec/swagger.yaml,sha256=0fM22kXURoLi97xSncRuVBLaUB5iYA6ROkB9YaLrlwM,5861
5
- pywebexec/version.py,sha256=ZdKYdW7ZyxnLeNiZr2tgkQ6FUNV6z2B2Gkw78GTaVg4,511
5
+ pywebexec/version.py,sha256=qC56XKiT36ej9h43OdtcJz0_0Z1A6j9glLKPETi3AcQ,511
6
6
  pywebexec/static/css/bootstrap.min.css,sha256=916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG_aiY1w,121200
7
7
  pywebexec/static/css/form.css,sha256=nvSiFzISMevqzT1oYyrH8xVnVPF-0V33eeh-A4M8-ZI,160643
8
8
  pywebexec/static/css/markdown.css,sha256=CxvZsCt6h7VcNTeyrrEsZpd4VuTFmWA33Y68T2N0pOU,1881
@@ -67,9 +67,9 @@ pywebexec/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
67
67
  pywebexec/templates/index.html,sha256=KeNLBH9PN_ZuGhzwrjvRTj2oBtbINv_SbwGQpOahNWo,3820
68
68
  pywebexec/templates/popup.html,sha256=3kpMccKD_OLLhJ4Y9KRw6Ny8wQWjVaRrUfV9y5-bDiQ,1580
69
69
  pywebexec/templates/swagger_ui.html,sha256=9ngyldkyEdLonBjl97mbIZUlVk-jxwcHrvFzMSrveyU,1067
70
- pywebexec-2.0.2.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
71
- pywebexec-2.0.2.dist-info/METADATA,sha256=Cr2kUxBz49TGlyH7l1jiWS4x4hTYmbqhUTMWB8vnEBc,9644
72
- pywebexec-2.0.2.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
73
- pywebexec-2.0.2.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
74
- pywebexec-2.0.2.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
75
- pywebexec-2.0.2.dist-info/RECORD,,
70
+ pywebexec-2.0.3.dist-info/LICENSE,sha256=gRJf0JPT_wsZJsUGlWPTS8Vypfl9vQ1qjp6sNbKykuA,1064
71
+ pywebexec-2.0.3.dist-info/METADATA,sha256=vrGf1Kj7xgo8KV13jlC6RKJMRIQadSLn26TOI295xIU,9644
72
+ pywebexec-2.0.3.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
73
+ pywebexec-2.0.3.dist-info/entry_points.txt,sha256=l52GBkPCXRkmlHfEyoVauyfBdg8o-CAtC8qQpOIjJK0,55
74
+ pywebexec-2.0.3.dist-info/top_level.txt,sha256=vHoHyzngrfGdm_nM7Xn_5iLmaCrf10XO1EhldgNLEQ8,10
75
+ pywebexec-2.0.3.dist-info/RECORD,,