Skip to content

Commit 07ca441

Browse files
committed
🐛 move \n out of f-string (for older Python versions?)
1 parent 6bced09 commit 07ca441

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vuegen/config_manager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ def _read_description_file(self, folder_path: Path) -> str:
166166
"""
167167
description_file = folder_path / "description.md"
168168
if description_file.exists():
169-
return f"{description_file.read_text().strip().replace('\n', '\n ')}\n"
169+
ret = description_file.read_text().strip().replace('\n', '\n ')
170+
return f"{ret}\n"
170171
return ""
171172

172173
def _create_subsect_config_fromdir(self, subsection_dir_path: Path) -> Dict[str, Union[str, List[Dict]]]:

0 commit comments

Comments
 (0)