Skip to content

Commit

Permalink
Check for pyc extension in turbo function
Browse files Browse the repository at this point in the history
  • Loading branch information
titusz committed Oct 19, 2024
1 parent 3b3f719 commit 6fb793d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iscc_core/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ def turbo(): # pragma: no cover
for module in modules:
module_file = inspect.getfile(module)
log.debug(f"Module {module.__name__} file: {module_file}")
if module_file.endswith(".py"):
if module_file.endswith(".py") or module_file.endswith(".pyc"):
return False
return True

0 comments on commit 6fb793d

Please sign in to comment.