bcpkgfox 0.16.24__py3-none-any.whl → 0.16.25__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.
- bcpkgfox/cli.py +5 -1
- {bcpkgfox-0.16.24.dist-info → bcpkgfox-0.16.25.dist-info}/METADATA +1 -1
- {bcpkgfox-0.16.24.dist-info → bcpkgfox-0.16.25.dist-info}/RECORD +6 -6
- {bcpkgfox-0.16.24.dist-info → bcpkgfox-0.16.25.dist-info}/WHEEL +0 -0
- {bcpkgfox-0.16.24.dist-info → bcpkgfox-0.16.25.dist-info}/entry_points.txt +0 -0
- {bcpkgfox-0.16.24.dist-info → bcpkgfox-0.16.25.dist-info}/top_level.txt +0 -0
bcpkgfox/cli.py
CHANGED
|
@@ -500,10 +500,14 @@ class cli:
|
|
|
500
500
|
def main(self, return_=False):
|
|
501
501
|
self.target_file = self.cli.file #FIX
|
|
502
502
|
|
|
503
|
-
if not
|
|
503
|
+
if not self.target_file:
|
|
504
504
|
print(f"{self.visuals.bold}{self.visuals.RD} > Error: Please pass your 'target_file', to detect the libraries.{self.visuals.RESET}")
|
|
505
505
|
sys.exit(1)
|
|
506
506
|
|
|
507
|
+
if not os.path.exists(self.target_file):
|
|
508
|
+
print(f"{self.visuals.bold}{self.visuals.RD} > Error: your 'target_file' does not exist or can't be accessed.{self.visuals.RESET}")
|
|
509
|
+
sys.exit(1)
|
|
510
|
+
|
|
507
511
|
try:
|
|
508
512
|
with open(self.target_file, "r", encoding="utf-8", errors="replace") as file:
|
|
509
513
|
file_content = file.read()
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
bcpkgfox/__init__.py,sha256=tIFJ-KIMZK_ZjcrUg92QoHd2Rbte4cvuPMlPUzjtK0U,15945
|
|
2
|
-
bcpkgfox/cli.py,sha256=
|
|
2
|
+
bcpkgfox/cli.py,sha256=OdgFtjCvd_Qv-0gQ8Usnu_aqK3jpfnxeMr4Ltz2zG5E,31098
|
|
3
3
|
bcpkgfox/exec_file.py,sha256=fl_Do2SlF7JuXazpNTod-e_0WZUk355fbd7ustQvi40,3728
|
|
4
4
|
bcpkgfox/find_elements.py,sha256=oeB-73LqMLoKchozPXuxRkThBju9IgUKqbgU-2AAq0s,23027
|
|
5
5
|
bcpkgfox/get_driver.py,sha256=ohimk9E2hL6T35IXv0XX0uvWDGCUZvZDlPMnuRjV1R0,30490
|
|
6
6
|
bcpkgfox/invoke_api.py,sha256=UTksbSmg6yucWk-egH1gavYoViKvpUq-OAp5t308ZmY,5334
|
|
7
7
|
bcpkgfox/system.py,sha256=U5vEReSVIQ7LZ-1slUglNyU6k0Vahfioozm6QVEIqfE,6732
|
|
8
|
-
bcpkgfox-0.16.
|
|
9
|
-
bcpkgfox-0.16.
|
|
10
|
-
bcpkgfox-0.16.
|
|
11
|
-
bcpkgfox-0.16.
|
|
12
|
-
bcpkgfox-0.16.
|
|
8
|
+
bcpkgfox-0.16.25.dist-info/METADATA,sha256=rAGw2ad9VdYnEEbFtOKlioD2NabEWm1Ryy_M5BcXUIM,1912
|
|
9
|
+
bcpkgfox-0.16.25.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
10
|
+
bcpkgfox-0.16.25.dist-info/entry_points.txt,sha256=zzthtJtEpeRjlpE6YDBbSGVH6hvnnVyRxVSSgz1_S0M,337
|
|
11
|
+
bcpkgfox-0.16.25.dist-info/top_level.txt,sha256=h01SqyYBEfS72vkRFOlEDZBUSu9pzU0bdX4m9hWNNmw,9
|
|
12
|
+
bcpkgfox-0.16.25.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|