sync fixed

This commit is contained in:
Tim Bendt
2025-12-17 11:20:28 -05:00
parent d33d6a4dc4
commit 523cf78737
5 changed files with 548 additions and 89 deletions

View File

@@ -704,7 +704,19 @@ def run(
if dashboard:
from .sync_dashboard import run_dashboard_sync
asyncio.run(run_dashboard_sync())
sync_config = {
"dry_run": dry_run,
"vdir": vdir,
"icsfile": icsfile,
"org": org,
"days_back": days_back,
"days_forward": days_forward,
"continue_iteration": continue_iteration,
"download_attachments": download_attachments,
"two_way_calendar": two_way_calendar,
"notify": notify,
}
asyncio.run(run_dashboard_sync(notify=notify, sync_config=sync_config))
elif daemon:
from .sync_daemon import create_daemon_config, SyncDaemon