worker-automate-hub 0.5.809__py3-none-any.whl → 0.5.810__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.
Potentially problematic release.
This version of worker-automate-hub might be problematic. Click here for more details.
- worker_automate_hub/tasks/jobs/abertura_livros_fiscais.py +3 -5
- {worker_automate_hub-0.5.809.dist-info → worker_automate_hub-0.5.810.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.5.809.dist-info → worker_automate_hub-0.5.810.dist-info}/RECORD +5 -5
- {worker_automate_hub-0.5.809.dist-info → worker_automate_hub-0.5.810.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.5.809.dist-info → worker_automate_hub-0.5.810.dist-info}/entry_points.txt +0 -0
|
@@ -331,8 +331,7 @@ async def abertura_livros_fiscais(task: RpaProcessoEntradaDTO) -> RpaRetornoProc
|
|
|
331
331
|
console.print("Aguardar o término de carregar")
|
|
332
332
|
# imagem = r"C:\Users\automatehub\Documents\GitHub\worker-automate-hub\assets\abertura_livros\livros_incluidos.png"
|
|
333
333
|
imagem = "assets\\abertura_livros\\livros_incluidos.png"
|
|
334
|
-
|
|
335
|
-
tempo_limite = 1200 # 20 minutos
|
|
334
|
+
tempo_limite = 3600 # 1h
|
|
336
335
|
intervalo = 2 # segundos entre as verificações
|
|
337
336
|
|
|
338
337
|
inicio = time.time()
|
|
@@ -375,7 +374,7 @@ async def abertura_livros_fiscais(task: RpaProcessoEntradaDTO) -> RpaRetornoProc
|
|
|
375
374
|
# img_dialog = r"C:\Users\automatehub\Documents\GitHub\worker-automate-hub\assets\abertura_livros\notas_rejeitadas.png"
|
|
376
375
|
img_dialog = "assets\\abertura_livros\\notas_rejeitadas.png"
|
|
377
376
|
if os.path.exists(img_dialog):
|
|
378
|
-
caixa = pyautogui.locateOnScreen(img_dialog, confidence=0.
|
|
377
|
+
caixa = pyautogui.locateOnScreen(img_dialog, confidence=0.9, grayscale=True)
|
|
379
378
|
if caixa:
|
|
380
379
|
print("Janela 'notas rejeitadas' detectada por imagem.")
|
|
381
380
|
region = (caixa.left, caixa.top, caixa.width, caixa.height)
|
|
@@ -394,7 +393,7 @@ async def abertura_livros_fiscais(task: RpaProcessoEntradaDTO) -> RpaRetornoProc
|
|
|
394
393
|
# img_dialog = r"C:\Users\automatehub\Documents\GitHub\worker-automate-hub\assets\abertura_livros\gerar_rel_notas_rejeitadas.png"
|
|
395
394
|
img_dialog = "assets\\abertura_livros\\gerar_rel_notas_rejeitadas.png"
|
|
396
395
|
if os.path.exists(img_dialog):
|
|
397
|
-
caixa = pyautogui.locateOnScreen(img_dialog, confidence=0.
|
|
396
|
+
caixa = pyautogui.locateOnScreen(img_dialog, confidence=0.9, grayscale=True)
|
|
398
397
|
if caixa:
|
|
399
398
|
print("Janela 'notas rejeitadas' detectada por imagem.")
|
|
400
399
|
region = (caixa.left, caixa.top, caixa.width, caixa.height)
|
|
@@ -632,4 +631,3 @@ async def abertura_livros_fiscais(task: RpaProcessoEntradaDTO) -> RpaRetornoProc
|
|
|
632
631
|
status=RpaHistoricoStatusEnum.Falha,
|
|
633
632
|
tags=[RpaTagDTO(descricao=RpaTagEnum.Tecnico)],
|
|
634
633
|
)
|
|
635
|
-
|
|
@@ -36,7 +36,7 @@ worker_automate_hub/models/dto/rpa_sap_dto.py,sha256=eovdvKCtVIhRct3PL98KjsdlngL
|
|
|
36
36
|
worker_automate_hub/models/dto/rpa_sistema_dto.py,sha256=sLkmJei8x6sl-1-IXUKDmYQuKx0sotYQREPyhQqPmRg,161
|
|
37
37
|
worker_automate_hub/tasks/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
38
|
worker_automate_hub/tasks/jobs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
39
|
-
worker_automate_hub/tasks/jobs/abertura_livros_fiscais.py,sha256=
|
|
39
|
+
worker_automate_hub/tasks/jobs/abertura_livros_fiscais.py,sha256=4IOJCIGXQ-7Fq9hzC3RrzljtBGRd7IY-2XlXoJQ4ZCc,25189
|
|
40
40
|
worker_automate_hub/tasks/jobs/coleta_dje_process.py,sha256=UkLWTC5Ub2qBb0yY-8IZ0DLLOVJOfNTq_z9krx_t25Q,29476
|
|
41
41
|
worker_automate_hub/tasks/jobs/conexao_rdp.py,sha256=S6QC4xhuo0pB5FjaUJZNMm1LIgEjpjifReCTBDqxH-U,11719
|
|
42
42
|
worker_automate_hub/tasks/jobs/cte_manual.py,sha256=JucHpRMjMiy-QEJ0wtFnytLpN53tKXgCDI05nGLGclU,603
|
|
@@ -103,7 +103,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
|
|
|
103
103
|
worker_automate_hub/utils/util.py,sha256=HXXGEEeGQd-gD_u8W0_aPYVDiMB9bKF-rJBl-m6RiRM,210781
|
|
104
104
|
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=F7jk95LpDwl5WfaQXahCA5yDdnySnWdctDqczHXwGqE,38195
|
|
105
105
|
worker_automate_hub/worker.py,sha256=zEnYUrm5kY2cHbbee15QJkwkx4euD2SB2zRvUIbjS90,6850
|
|
106
|
-
worker_automate_hub-0.5.
|
|
107
|
-
worker_automate_hub-0.5.
|
|
108
|
-
worker_automate_hub-0.5.
|
|
109
|
-
worker_automate_hub-0.5.
|
|
106
|
+
worker_automate_hub-0.5.810.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
|
107
|
+
worker_automate_hub-0.5.810.dist-info/METADATA,sha256=pxBRPfxFbWsQ32RJdkCuLYm-4tWza5yO396pTxgIhQw,3100
|
|
108
|
+
worker_automate_hub-0.5.810.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
|
|
109
|
+
worker_automate_hub-0.5.810.dist-info/RECORD,,
|
|
File without changes
|
{worker_automate_hub-0.5.809.dist-info → worker_automate_hub-0.5.810.dist-info}/entry_points.txt
RENAMED
|
File without changes
|