Skip to content

Commit

Permalink
Merge pull request #196 from pieces-app/fix-more
Browse files Browse the repository at this point in the history
fix str object has no attribute .text
  • Loading branch information
bishoy-at-pieces authored Oct 9, 2024
2 parents 3ef5176 + 7575d1f commit 8cc66f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snippet_details_autocomplete.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def run(self,edit,asset_id):
details = asset_wrapper.description
mdpopups.show_popup(
self.view,
f"{details.text if details else ''}\n```{lang}\n{content}\n```",max_width=900,
f"{details if details else ''}\n```{lang}\n{content}\n```",max_width=900,
wrapper_class="wrapper",
css=".wrapper {margin:6px}")

0 comments on commit 8cc66f3

Please sign in to comment.