update error message (#3612)

Co-authored-by: Abdo <abdo@abdnh.net>
This commit is contained in:
sorata 2024-12-06 05:35:49 +05:30 committed by GitHub
parent 496d76e478
commit d897b4588e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -394,7 +394,7 @@ def importFile(mw: AnkiQt, file: str) -> None:
showWarning(invalidZipMsg())
except MediaMapInvalid:
showWarning(
"Unable to read file. It probably requires a newer version of Anki to import. Try unchecking 'Legacy import/export Handling' under Preferences > Editing > Import/Export and see if the problem persists."
"Unable to read file. It probably requires a newer version of Anki to import."
)
except V2ImportIntoV1:
showWarning(