bcpkgfox 0.16.59__tar.gz → 0.16.60__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.16.59
3
+ Version: 0.16.60
4
4
  Summary: Biblioteca BCFOX
5
5
  Home-page: https://github.com/robotsbcfox/PacotePythonBCFOX
6
6
  Author: Guilherme Neri
@@ -287,7 +287,12 @@ def login_2fac(driver, certificate, system, token, code_timeout=60):
287
287
  ID = response['ID']
288
288
 
289
289
  tools.find_element_with_wait(By.XPATH, '//input[@type="password"]').send_keys(CODE)
290
- tools.find_element_with_wait(By.XPATH, '//div/div[2]/button').click()
290
+ for _ in range(10):
291
+ try:
292
+ tools.find_element_with_wait(By.XPATH, '//div/div[2]/button', timeout=2).click()
293
+ time.sleep(1)
294
+ except:
295
+ break
291
296
 
292
297
  # Check the code result
293
298
  for _ in range(7):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bcpkgfox
3
- Version: 0.16.59
3
+ Version: 0.16.60
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.59",
5
+ version="0.16.60",
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
File without changes
File without changes