From 6a9b30f84923c2f436cf68e398839d129bc483d9 Mon Sep 17 00:00:00 2001 From: Johannes Laurin Hoermann Date: Mon, 7 Aug 2023 12:12:23 +0200 Subject: [PATCH] MAINT: treat README as text --- dtool_lookup_gui/models/datasets.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dtool_lookup_gui/models/datasets.py b/dtool_lookup_gui/models/datasets.py index 80e2cf5e..be0b9e33 100644 --- a/dtool_lookup_gui/models/datasets.py +++ b/dtool_lookup_gui/models/datasets.py @@ -337,8 +337,7 @@ async def get_readme(self): logger.debug("README.yml queried from lookup server.") async with ConfigurationBasedLookupClient() as lookup: - readme_dict = await lookup.readme(self.uri) - self._dataset_info['readme_content'] = yaml.dump(readme_dict, allow_unicode=True) + self._dataset_info['readme_content'] = await lookup.readme(self.uri) return self._dataset_info['readme_content'] async def get_manifest(self):