Skip to content

Commit eae9a39

Browse files
committed
Update main.py
1 parent 35d858a commit eae9a39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
sys.path.append(os.path.join(parent_folder_path, "lib"))
77
sys.path.append(os.path.join(parent_folder_path, ".venv", "lib", "site-packages"))
88

9+
import asyncio
910
import logging
1011

1112
from flogin import Plugin
@@ -22,6 +23,7 @@ async def on_initialization() -> None:
2223

2324
if plugin.metadata.disabled:
2425
log.info("plugin disabled, not sending notification")
26+
await asyncio.sleep(2)
2527
else:
2628
await plugin.api.show_notification(
2729
"Flow Load Notification",

0 commit comments

Comments
 (0)