diff --git a/src/jupytext/contentsmanager.py b/src/jupytext/contentsmanager.py index 80ee810b..812e7dac 100644 --- a/src/jupytext/contentsmanager.py +++ b/src/jupytext/contentsmanager.py @@ -299,7 +299,7 @@ def read_one_file(alt_path, alt_fmt): self.log.info(f"Reading SOURCE from {alt_path}") text = self.super.get( - alt_path, content=True, type="file", format=format + alt_path, content=True, type="file", format="text" )["content"] return reads(text, fmt=alt_fmt, config=config)