Skip to content

Commit

Permalink
modification to full_sync.py
Browse files Browse the repository at this point in the history
add type hint to def upload
  • Loading branch information
dobefore authored and VikashKothary committed Mar 8, 2022
1 parent 1b30550 commit 16fbf6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ankisyncd/full_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def test_db(self, db: DB):
"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.
Expand Down

0 comments on commit 16fbf6e

Please sign in to comment.