This commit is contained in:
Ayush Saini 2022-07-02 17:24:51 +05:30
parent 713e2d03d9
commit 421c488c6a
3 changed files with 4 additions and 2 deletions

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')