Skip to content

Commit

Permalink
Merge pull request #252 from livMatS/2023-08-07-readme-as-text
Browse files Browse the repository at this point in the history
MAINT: treat README as text
  • Loading branch information
jotelha authored Sep 4, 2023
2 parents 0b5284a + 6a9b30f commit e5505fc
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dtool_lookup_gui/models/datasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,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):
Expand Down

0 comments on commit e5505fc

Please sign in to comment.