Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sacred/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@

def get_py_file_if_possible(pyc_name):
"""Try to retrieve a X.py file for a given X.py[c] file."""
if pyc_name.endswith((".py", ".so", ".pyd", ".ipynb")):
if pyc_name.endswith((".py", ".so", ".pyd", ".ipynb", ".pyx")):
return pyc_name
assert pyc_name.endswith(".pyc")
non_compiled_file = pyc_name[:-1]
Expand Down
Loading