From 16fbf6e27f1121336c4075061891526837a99018 Mon Sep 17 00:00:00 2001 From: dobefore <1432338032@qq.com> Date: Mon, 7 Feb 2022 14:21:51 +0800 Subject: [PATCH] modification to full_sync.py add type hint to def upload --- src/ankisyncd/full_sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ankisyncd/full_sync.py b/src/ankisyncd/full_sync.py index 7050a14..a6c9b9d 100644 --- a/src/ankisyncd/full_sync.py +++ b/src/ankisyncd/full_sync.py @@ -23,7 +23,7 @@ class FullSyncManager: "Integrity check failed for uploaded collection database file." ) - def upload(self, col: Collection, data: bytes, session) : + def upload(self, col: Collection, data: bytes, session) -> str: """ Uploads a sqlite database from the client to the sync server.