lanscape 1.3.1a4__py3-none-any.whl → 1.3.1a6__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.

Potentially problematic release.


This version of lanscape might be problematic. Click here for more details.

@@ -34,7 +34,8 @@ def open_webapp(url: str) -> bool:
34
34
  raise RuntimeError('Unable to find browser binary')
35
35
  log.debug(f'Opening {url} with {exe}')
36
36
 
37
- subprocess.run(exe, check=True, shell=True)
37
+ cmd = f'"{exe}" --app="{url}"'
38
+ subprocess.run(cmd, check=True, shell=True)
38
39
 
39
40
  if time.time() - start < 2:
40
41
  log.debug(f'Unable to hook into closure of UI, listening for flask shutdown')
@@ -129,7 +130,7 @@ def get_default_browser_executable() -> Optional[str]:
129
130
  )
130
131
  chrome_paths = p.stdout.strip().split('\n')
131
132
  if chrome_paths and chrome_paths[0]:
132
- return f"\"{chrome_paths[0]}/Contents/MacOS/Google Chrome\""
133
+ return f"{chrome_paths[0]}/Contents/MacOS/Google Chrome"
133
134
  except subprocess.CalledProcessError:
134
135
  pass
135
136
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: lanscape
3
- Version: 1.3.1a4
3
+ Version: 1.3.1a6
4
4
  Summary: A python based local network scanner
5
5
  Author-email: Michael Dennis <michael@dipduo.com>
6
6
  Project-URL: Homepage, https://github.com/mdennis281/py-lanscape
@@ -12,7 +12,7 @@ lanscape/libraries/runtime_args.py,sha256=ICX_JkOmqDQdewZNfRxJb9jMggDw1XqF5CxM9z
12
12
  lanscape/libraries/service_scan.py,sha256=jLU84ZoJnqSQbE30Zly2lm2zHrCGutNXjla1sEvp1hE,1949
13
13
  lanscape/libraries/subnet_scan.py,sha256=0LW_xdoL-PRp59rJr6r6pSL3LiXEO_SJnjdrgEF_pO8,13120
14
14
  lanscape/libraries/version_manager.py,sha256=v-IsZ7sYIsNRiraIRckGZthlyL0iTuscR6jF_o9LBK8,1720
15
- lanscape/libraries/web_browser.py,sha256=vgyue0eqLyCDO1mergpCJrgxc1hrcPgzW7DFIyDQzgo,4992
15
+ lanscape/libraries/web_browser.py,sha256=EuKJG3bmBZUochDGm9a0qrB6JkIkOkvx4njZBe4eLIQ,5028
16
16
  lanscape/resources/mac_addresses/convert_csv.py,sha256=w3Heed5z2mHYDEZNBep3_hNg4dbrp_N6J54MGxnrq4s,721
17
17
  lanscape/resources/mac_addresses/mac_db.json,sha256=ygtFSwNwJzDlg6hmAujdgCyzUjxt9Di75J8SO4xYIs8,2187804
18
18
  lanscape/resources/ports/convert_csv.py,sha256=mWe8zucWVfnlNEx_ZzH5Vc3tJJbdi-Ih4nm2yKNrRN0,720
@@ -65,8 +65,8 @@ lanscape/ui/templates/scan/ip-table-row.html,sha256=ptY24rxJRaA4PEEQRDncaq6Q0ql5
65
65
  lanscape/ui/templates/scan/ip-table.html,sha256=ds__UP9JiTKf5IxCmTMzw--eN_yg1Pvn3Nj1KvQxeZg,940
66
66
  lanscape/ui/templates/scan/overview.html,sha256=FsX-jSFhGKwCxZGKE8AMKk328UuawN6O9RNTzYvIOts,1205
67
67
  lanscape/ui/templates/scan/scan-error.html,sha256=Q4eZM5ThrxnFaWOSTUpK8hA2ksHwhxOBTaVUCLALhyA,1032
68
- lanscape-1.3.1a4.dist-info/licenses/LICENSE,sha256=cCO-NbS01Ilwc6djHjZ7LIgPFRkRmWdr0fH2ysXKioA,1090
69
- lanscape-1.3.1a4.dist-info/METADATA,sha256=TdipW4jw0j6URgjkZk6RSo3LH67QsWy1f-7edKU2bNQ,2567
70
- lanscape-1.3.1a4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
71
- lanscape-1.3.1a4.dist-info/top_level.txt,sha256=E9D4sjPz_6H7c85Ycy_pOS2xuv1Wm-ilKhxEprln2ps,9
72
- lanscape-1.3.1a4.dist-info/RECORD,,
68
+ lanscape-1.3.1a6.dist-info/licenses/LICENSE,sha256=cCO-NbS01Ilwc6djHjZ7LIgPFRkRmWdr0fH2ysXKioA,1090
69
+ lanscape-1.3.1a6.dist-info/METADATA,sha256=SvC7eHYkOYgkCRRzkgzO96OLrSzmJ-IL1BYa9XCEFSI,2567
70
+ lanscape-1.3.1a6.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
71
+ lanscape-1.3.1a6.dist-info/top_level.txt,sha256=E9D4sjPz_6H7c85Ycy_pOS2xuv1Wm-ilKhxEprln2ps,9
72
+ lanscape-1.3.1a6.dist-info/RECORD,,