Improve wording

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
Hugo van Kemenade 2026-01-24 12:52:49 +02:00 committed by GitHub
parent 3968886cf6
commit 34814d8d2f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3630,8 +3630,8 @@ def open(
prefix = fp.read(16)
# Try to load just the plugin needed for this file extension
# before falling back to preinit() which loads common plugins
# Try to import just the plugin needed for this file extension
# before falling back to preinit() which imports common plugins
ext = os.path.splitext(filename)[1] if filename else ""
if not (ext and _import_plugin_for_extension(ext)):
preinit()