Skip to content

Commit

Permalink
Ensure that we get the text as text (not json)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Dec 8, 2024
1 parent a6615c6 commit 6692a7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jupytext/contentsmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 6692a7a

Please sign in to comment.