bcpkgfox 0.17.7__tar.gz → 0.17.8__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.

Potentially problematic release.


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

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcpkgfox
3
- Version: 0.17.7
3
+ Version: 0.17.8
4
4
  Summary: Biblioteca BCFOX
5
5
  Home-page: https://github.com/robotsbcfox/PacotePythonBCFOX
6
6
  Author: BCFOX
@@ -444,6 +444,7 @@ def login_2fac(driver, certificate, system, token, code_timeout=60):
444
444
  timeout=1).click()
445
445
  time.sleep(1)
446
446
  self.codes_2_fac()
447
+ self.select_system()
447
448
  return
448
449
  except:
449
450
  pass
@@ -495,6 +496,15 @@ def login_2fac(driver, certificate, system, token, code_timeout=60):
495
496
  mostrar_mensagem('Mais de um sistema encontrado, verifique o nome do sistema no WHOOM e coloque um nome único na função')
496
497
  raise ValueError('Mais de um sistema encontrado, verifique o nome')
497
498
 
499
+ try:
500
+ tools.find_element_with_wait(By.XPATH, '//input[@placeholder="Insira aqui o seu email"]',
501
+ timeout=1).click()
502
+ time.sleep(1)
503
+ self.codes_2_fac()
504
+ self.select_system()
505
+ return
506
+ except:
507
+ pass
498
508
 
499
509
  # Verifies if the system was opened
500
510
  for _ in range(30):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcpkgfox
3
- Version: 0.17.7
3
+ Version: 0.17.8
4
4
  Summary: Biblioteca BCFOX
5
5
  Home-page: https://github.com/robotsbcfox/PacotePythonBCFOX
6
6
  Author: BCFOX
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="bcpkgfox",
5
- version="0.17.7",
5
+ version="0.17.8",
6
6
  author="BCFOX",
7
7
  author_email="bcfox@bcfox.com.br",
8
8
  description="Biblioteca BCFOX",
File without changes
File without changes
File without changes
File without changes
File without changes