return interrupted err when media sync aborted

This commit is contained in:
Damien Elmes 2020-04-01 21:40:14 +10:00
parent c57801c168
commit c68a2fc838

View file

@ -529,7 +529,7 @@ impl Backend {
Ok(sync_result) => sync_result,
Err(_) => {
// aborted sync
Ok(())
Err(AnkiError::Interrupted)
}
};
self.media_sync_abort = None;