worker-automate-hub 0.4.340__py3-none-any.whl → 0.4.341__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/utils/util.py +14 -5
- {worker_automate_hub-0.4.340.dist-info → worker_automate_hub-0.4.341.dist-info}/METADATA +1 -1
- {worker_automate_hub-0.4.340.dist-info → worker_automate_hub-0.4.341.dist-info}/RECORD +5 -5
- {worker_automate_hub-0.4.340.dist-info → worker_automate_hub-0.4.341.dist-info}/WHEEL +0 -0
- {worker_automate_hub-0.4.340.dist-info → worker_automate_hub-0.4.341.dist-info}/entry_points.txt +0 -0
@@ -318,17 +318,26 @@ async def login_emsys_fiscal(
|
|
318
318
|
app = Application().connect(class_name="TFrmLoginModulo")
|
319
319
|
main_window = app["Login"]
|
320
320
|
|
321
|
-
|
322
|
-
|
323
|
-
edit_password = main_window.child_window(class_name="TcxCustomInnerTextEdit", found_index=0)
|
321
|
+
user = config.get("user")
|
324
322
|
password = config.get("pass")
|
325
|
-
edit_password.set_edit_text(password)
|
326
323
|
|
324
|
+
if not user or not password:
|
325
|
+
return RpaRetornoProcessoDTO(
|
326
|
+
sucesso=False,
|
327
|
+
retorno=f"Erro: Não foi possivel obter as credencias para login",
|
328
|
+
status=RpaHistoricoStatusEnum.Falha,
|
329
|
+
)
|
330
|
+
|
331
|
+
main_window.set_focus()
|
327
332
|
await worker_sleep(1)
|
328
333
|
edit_user = main_window.child_window(class_name="TcxCustomInnerTextEdit", found_index=1)
|
329
|
-
user = config.get("user")
|
330
334
|
edit_user.set_edit_text(user)
|
331
335
|
|
336
|
+
await worker_sleep(2)
|
337
|
+
edit_password = main_window.child_window(class_name="TcxCustomInnerTextEdit", found_index=0)
|
338
|
+
edit_password.set_edit_text(password)
|
339
|
+
|
340
|
+
|
332
341
|
await worker_sleep(2)
|
333
342
|
pyautogui.press("enter")
|
334
343
|
|
@@ -64,10 +64,10 @@ worker_automate_hub/utils/get_creds_gworkspace.py,sha256=ZJ0IIEjM4IXIV9rwfbOZ1V1
|
|
64
64
|
worker_automate_hub/utils/logger.py,sha256=FYV9fg0_RAYJF_ZOCJEbqQAiCXlXk2gMpvUU1rzT_xs,671
|
65
65
|
worker_automate_hub/utils/toast.py,sha256=xPHc5r5uOxB_cZlCzm13Kt2qSKLLFZALncU6Qg3Ft68,1162
|
66
66
|
worker_automate_hub/utils/updater.py,sha256=0LR6Xpe3HZk-xu-trH7vKRhP5FXp0nhp1qxtygE2Jps,7280
|
67
|
-
worker_automate_hub/utils/util.py,sha256=
|
67
|
+
worker_automate_hub/utils/util.py,sha256=O3gPOqUJOQBaxEGvjXlQRWxW76kPb5pJOizshzWP3cA,117264
|
68
68
|
worker_automate_hub/utils/utils_nfe_entrada.py,sha256=4--3HDyWddT8vw2mBNY_-9IscvAQYBygwPIMiKvAG-w,27583
|
69
69
|
worker_automate_hub/worker.py,sha256=vkl_x7gSo6nQlhSBLwRkGx6LEONnYptfBaGxOy1ZLsE,4634
|
70
|
-
worker_automate_hub-0.4.
|
71
|
-
worker_automate_hub-0.4.
|
72
|
-
worker_automate_hub-0.4.
|
73
|
-
worker_automate_hub-0.4.
|
70
|
+
worker_automate_hub-0.4.341.dist-info/entry_points.txt,sha256=sddyhjx57I08RY8X7UxcTpdoOsWULAWNKN9Xr6pp_Kw,54
|
71
|
+
worker_automate_hub-0.4.341.dist-info/METADATA,sha256=jgj9pNAhv1hZ4ybOk2SHnlIgFIDmhGpskryg4UuQcIY,2895
|
72
|
+
worker_automate_hub-0.4.341.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
73
|
+
worker_automate_hub-0.4.341.dist-info/RECORD,,
|
File without changes
|
{worker_automate_hub-0.4.340.dist-info → worker_automate_hub-0.4.341.dist-info}/entry_points.txt
RENAMED
File without changes
|