worker-automate-hub 0.5.67__py3-none-any.whl → 0.5.68__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- worker_automate_hub/tasks/jobs/fidc_gerar_nosso_numero.py +19 -7
- {worker_automate_hub-0.5.67.dist-info → worker_automate_hub-0.5.68.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.5.67.dist-info → worker_automate_hub-0.5.68.dist-info}/RECORD +5 -5
- {worker_automate_hub-0.5.67.dist-info → worker_automate_hub-0.5.68.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.5.67.dist-info → worker_automate_hub-0.5.68.dist-info}/entry_points.txt +0 -0
@@ -216,19 +216,31 @@ async def gerar_nosso_numero(task: RpaProcessoEntradaDTO) -> RpaRetornoProcessoD
|
|
216
216
|
button_ok.click()
|
217
217
|
|
218
218
|
await worker_sleep(60)
|
219
|
-
|
220
|
-
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
219
|
+
boleto_argenta = None
|
220
|
+
max_trys = 5
|
221
|
+
trys = 0
|
222
|
+
while boleto_argenta != None and trys <= max_trys:
|
223
|
+
try:
|
224
|
+
app = Application().connect(title="BOLETO ARGENTA_1")
|
225
|
+
boleto_argenta = app["BOLETO ARGENTA_1"]
|
226
|
+
console.log("Boleto Argenta sendo fechado", style="bold green")
|
227
|
+
boleto_argenta.close()
|
228
|
+
break
|
229
|
+
except:
|
230
|
+
console.print("Tela de boleto Argenta ainda não encontrada", style="bold yellow")
|
231
|
+
|
232
|
+
trys += 1
|
233
|
+
await worker_sleep(60)
|
234
|
+
|
235
|
+
await worker_sleep(5)
|
225
236
|
#Confirmando tela de impressão
|
226
237
|
#Clica em "Yes"
|
227
238
|
# pyautogui.click(900, 561)
|
228
239
|
#Clica em "No"
|
229
240
|
pyautogui.click(1000, 561)
|
230
241
|
|
231
|
-
await worker_sleep(
|
242
|
+
await worker_sleep(5)
|
243
|
+
|
232
244
|
if boleto_argenta:
|
233
245
|
return RpaRetornoProcessoDTO(
|
234
246
|
sucesso=True,
|
@@ -58,7 +58,7 @@ worker_automate_hub/tasks/jobs/entrada_de_notas_7139.py,sha256=iXbkjdg02r3tdt3eH
|
|
58
58
|
worker_automate_hub/tasks/jobs/entrada_de_notas_9.py,sha256=vUj25yHxkCNhpyOU5Vk81gsYcTTH1TJ3yn-b8N00JfQ,52857
|
59
59
|
worker_automate_hub/tasks/jobs/exemplo_processo.py,sha256=nV0iLoip2FH2-FhLmhX3nPqsfl_MPufZ3E5Q5krJvdc,3544
|
60
60
|
worker_automate_hub/tasks/jobs/fechar_conexao_rdp.py,sha256=8GVImU7EnncCSxbbuEC4-EBE8oGTk6CJ-HFNqJ5OiMs,5564
|
61
|
-
worker_automate_hub/tasks/jobs/fidc_gerar_nosso_numero.py,sha256=
|
61
|
+
worker_automate_hub/tasks/jobs/fidc_gerar_nosso_numero.py,sha256=fnTXtf6TKtmiChqzap1BdAfBpnQv2l05-3VS3xUmbKg,10980
|
62
62
|
worker_automate_hub/tasks/jobs/fidc_remessa_cobranca_cnab240.py,sha256=QBGm6eS5JghgNWNqZlk1g2a2iV8LnBLiOTBBL3Giet0,4181
|
63
63
|
worker_automate_hub/tasks/jobs/login_emsys.py,sha256=scdKsseFOL-7UQ5D743VaZZzWBKaEfq0XzYNmROUOgE,5703
|
64
64
|
worker_automate_hub/tasks/jobs/login_emsys_versao_especifica.py,sha256=jcfhppG-MhuZYKEIt8O8NaJfdV3figNXrKt4zPqeQi0,5644
|
@@ -76,7 +76,7 @@ worker_automate_hub/utils/updater.py,sha256=en2FCGhI8aZ-JNP3LQm64NJDc4awCNW7UhbV
|
|
76
76
|
worker_automate_hub/utils/util.py,sha256=_uPyZOzb8puEKXUmcFkaf7HesJBs8yITRQkOqViyugU,161430
|
77
77
|
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=iYpOs7fb7C3bY61QHySr00xlDNzrrCP0zaexOpBPuaQ,31930
|
78
78
|
worker_automate_hub/worker.py,sha256=CT-poyP1ZYvubArYsnnNd9oJ53SPaDwgr6p6keS3nI4,6248
|
79
|
-
worker_automate_hub-0.5.
|
80
|
-
worker_automate_hub-0.5.
|
81
|
-
worker_automate_hub-0.5.
|
82
|
-
worker_automate_hub-0.5.
|
79
|
+
worker_automate_hub-0.5.68.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
80
|
+
worker_automate_hub-0.5.68.dist-info/METADATA,sha256=4NOBuSV3_WQconVJIWJ3KImwE9k_CBR8WK1W4GPS608,2894
|
81
|
+
worker_automate_hub-0.5.68.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
|
82
|
+
worker_automate_hub-0.5.68.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.5.67.dist-info → worker_automate_hub-0.5.68.dist-info}/entry_points.txt
RENAMED
File without changes
|