mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
on serverAbort, return early
- fixes error attempting to access self.client.hostNum - prevents media sync from running
This commit is contained in:
parent
599f57494b
commit
8a63b4712c
1 changed files with 2 additions and 1 deletions
|
@ -400,7 +400,8 @@ class SyncThread(QThread):
|
|||
elif ret == "success":
|
||||
self.fireEvent("success")
|
||||
elif ret == "serverAbort":
|
||||
pass
|
||||
self.syncMsg = self.client.syncMsg
|
||||
return
|
||||
else:
|
||||
self.fireEvent("error", "Unknown sync return code.")
|
||||
self.syncMsg = self.client.syncMsg
|
||||
|
|
Loading…
Reference in a new issue