bcpkgfox 0.16.56__py3-none-any.whl → 0.16.58__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/invoke_api.py CHANGED
@@ -326,13 +326,14 @@ def login_2fac(driver, certificate, system, token, code_timeout=60):
326
326
 
327
327
  # Selects the system to access
328
328
  try:
329
- lines = self.find_elements_with_wait(self.driver, By.XPATH, '//*[@id="root"]/div[2]/div/div[1]/div/div[2]/div/div/div', timeout=5)
329
+ lines = tools.find_elements_with_wait(self.driver, By.XPATH, '//*[@id="root"]/div[2]/div/div[1]/div/div[2]/div/div/div', timeout=5)
330
330
  except:
331
331
  try:
332
- lines = self.find_elements_with_wait(self.driver, By.XPATH, '//*[@id="root"]/div[2]/div/div[2]/div/div[2]/div/div/div', timeout=5)
333
- except:
332
+ lines = tools.find_elements_with_wait(self.driver, By.XPATH, '//*[@id="root"]/div[2]/div/div[2]/div/div[2]/div/div/div', timeout=5)
333
+ except Exception as e:
334
334
  mostrar_mensagem('Não conseguiu achar o sistema no certificado')
335
- raise ValueError('Não conseguiu achar o sistema no certificado')
335
+ print(f'{e}\n\n\n\n\n\n')
336
+ raise ValueError('Não conseguiu achar o sistema no certificado') from e
336
337
 
337
338
  finded = False
338
339
  div_list = []
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcpkgfox
3
- Version: 0.16.56
3
+ Version: 0.16.58
4
4
  Summary: Biblioteca BCFOX
5
5
  Home-page: https://github.com/robotsbcfox/PacotePythonBCFOX
6
6
  Author: Guilherme Neri
@@ -4,10 +4,10 @@ bcpkgfox/cli.py,sha256=6k4GNZimGKKkntuzy54EDKuvc_N0XKWr2N_Ho7nINxw,33497
4
4
  bcpkgfox/exec_file.py,sha256=fl_Do2SlF7JuXazpNTod-e_0WZUk355fbd7ustQvi40,3728
5
5
  bcpkgfox/find_elements.py,sha256=oeB-73LqMLoKchozPXuxRkThBju9IgUKqbgU-2AAq0s,23027
6
6
  bcpkgfox/get_driver.py,sha256=ohimk9E2hL6T35IXv0XX0uvWDGCUZvZDlPMnuRjV1R0,30490
7
- bcpkgfox/invoke_api.py,sha256=Tk73n3fcj8gL9JWZFXdT8qG2GYuX6iRuYIO9yEMuOVE,16162
7
+ bcpkgfox/invoke_api.py,sha256=D4GKCeQcIvefcjsU8_BSGfxbT0aw_nRj7Th76bR4Xck,16233
8
8
  bcpkgfox/system.py,sha256=3lyOWx893T6KiAI-jDv7zAo3oKPf0Q5CLgZ8TeFd0Do,7901
9
- bcpkgfox-0.16.56.dist-info/METADATA,sha256=fGvMQmO3crFa1vb0LWD04UuWTwoXlvZ0GOelsh947fM,1912
10
- bcpkgfox-0.16.56.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
11
- bcpkgfox-0.16.56.dist-info/entry_points.txt,sha256=qmaEg6K7Y0HOeaFo-G6lf44InGkeVI4I6hqobcY_nns,653
12
- bcpkgfox-0.16.56.dist-info/top_level.txt,sha256=h01SqyYBEfS72vkRFOlEDZBUSu9pzU0bdX4m9hWNNmw,9
13
- bcpkgfox-0.16.56.dist-info/RECORD,,
9
+ bcpkgfox-0.16.58.dist-info/METADATA,sha256=GrTixit3aE_rSA220X9FJjP0nNHMVGT-yvAAKdj18TE,1912
10
+ bcpkgfox-0.16.58.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
11
+ bcpkgfox-0.16.58.dist-info/entry_points.txt,sha256=qmaEg6K7Y0HOeaFo-G6lf44InGkeVI4I6hqobcY_nns,653
12
+ bcpkgfox-0.16.58.dist-info/top_level.txt,sha256=h01SqyYBEfS72vkRFOlEDZBUSu9pzU0bdX4m9hWNNmw,9
13
+ bcpkgfox-0.16.58.dist-info/RECORD,,