Allow article extractor to be tried again after Mercury parser failure
This commit is contained in:
parent
f7fd003f3c
commit
c4b6cbe49e
|
@ -323,6 +323,11 @@ class MainWindowController : NSWindowController, NSUserInterfaceValidations {
|
|||
makeToolbarValidate()
|
||||
}
|
||||
|
||||
if articleExtractor?.state == .failedToParse {
|
||||
startArticleExtractorForCurrentLink()
|
||||
return
|
||||
}
|
||||
|
||||
guard articleExtractor?.state != .processing else {
|
||||
articleExtractor?.cancel()
|
||||
articleExtractor = nil
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue