bcpkgfox 0.16.24__tar.gz → 0.16.26__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcpkgfox
3
- Version: 0.16.24
3
+ Version: 0.16.26
4
4
  Summary: Biblioteca BCFOX
5
5
  Home-page: https://github.com/robotsbcfox/PacotePythonBCFOX
6
6
  Author: Guilherme Neri
@@ -500,8 +500,12 @@ 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
- print(f"{self.visuals.bold}{self.visuals.RD} > Error: Please pass your 'target_file', to detect the libraries.{self.visuals.RESET}")
508
+ print(f"{self.visuals.bold}{self.visuals.RD} > Error: Your 'target_file' does not exist or can't be accessed.{self.visuals.RESET}")
505
509
  sys.exit(1)
506
510
 
507
511
  try:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcpkgfox
3
- Version: 0.16.24
3
+ Version: 0.16.26
4
4
  Summary: Biblioteca BCFOX
5
5
  Home-page: https://github.com/robotsbcfox/PacotePythonBCFOX
6
6
  Author: Guilherme Neri
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="bcpkgfox",
5
- version="0.16.24",
5
+ version="0.16.26",
6
6
  author="Guilherme Neri",
7
7
  author_email="guilherme.neri@bcfox.com.br",
8
8
  description="Biblioteca BCFOX",
File without changes
File without changes