bcpkgfox 0.16.23__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 CHANGED
@@ -500,10 +500,13 @@ class cli:
500
500
  def main(self, return_=False):
501
501
  self.target_file = self.cli.file #FIX
502
502
 
503
+ if not self.target_file:
504
+ print(f"{self.visuals.bold}{self.visuals.RD} > Error: Please pass your 'target_file', to detect the libraries.{self.visuals.RESET}")
505
+ sys.exit(1)
506
+
503
507
  if not os.path.exists(self.target_file):
504
- self.descerror = f"Error: File '{self.target_file}' does not exist."
505
- self.error = 1
506
- return
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)
507
510
 
508
511
  try:
509
512
  with open(self.target_file, "r", encoding="utf-8", errors="replace") as file:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcpkgfox
3
- Version: 0.16.23
3
+ Version: 0.16.25
4
4
  Summary: Biblioteca BCFOX
5
5
  Home-page: https://github.com/robotsbcfox/PacotePythonBCFOX
6
6
  Author: Guilherme Neri
@@ -1,12 +1,12 @@
1
1
  bcpkgfox/__init__.py,sha256=tIFJ-KIMZK_ZjcrUg92QoHd2Rbte4cvuPMlPUzjtK0U,15945
2
- bcpkgfox/cli.py,sha256=Su-tlvLYx1vJ7BsiM6alq-qZFv0pNIPPpWh4Rsh0YPs,30843
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.23.dist-info/METADATA,sha256=cbPgNJ4L9RSa1uzWMXVH7ko3vqSZVlOq4qqgTZBn1h0,1912
9
- bcpkgfox-0.16.23.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
10
- bcpkgfox-0.16.23.dist-info/entry_points.txt,sha256=zzthtJtEpeRjlpE6YDBbSGVH6hvnnVyRxVSSgz1_S0M,337
11
- bcpkgfox-0.16.23.dist-info/top_level.txt,sha256=h01SqyYBEfS72vkRFOlEDZBUSu9pzU0bdX4m9hWNNmw,9
12
- bcpkgfox-0.16.23.dist-info/RECORD,,
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,,