mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 06:52:21 -04:00
return interrupted err when media sync aborted
This commit is contained in:
parent
c57801c168
commit
c68a2fc838
1 changed files with 1 additions and 1 deletions
|
@ -529,7 +529,7 @@ impl Backend {
|
|||
Ok(sync_result) => sync_result,
|
||||
Err(_) => {
|
||||
// aborted sync
|
||||
Ok(())
|
||||
Err(AnkiError::Interrupted)
|
||||
}
|
||||
};
|
||||
self.media_sync_abort = None;
|
||||
|
|
Loading…
Reference in a new issue