Update _meta.py

This commit is contained in:
Ayush Saini 2022-07-16 19:58:10 +05:30 committed by GitHub
parent 66d3130851
commit d05c5bee29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -288,7 +288,7 @@ class DirectoryScan:
# If we find a module requiring a different api version, warn
# and ignore.
if required_api is not None and required_api <= CURRENT_API_VERSION:
if required_api is not None and required_api < CURRENT_API_VERSION:
self.results.warnings += (
f'Warning: {subpath} requires api {required_api} but'
f' we are running {CURRENT_API_VERSION}; ignoring module.\n')