diff --git a/qtribu/gui/form_rdp_news.py b/qtribu/gui/form_rdp_news.py index 6bb089a7..dd07b67a 100644 --- a/qtribu/gui/form_rdp_news.py +++ b/qtribu/gui/form_rdp_news.py @@ -163,9 +163,7 @@ def generate_preview(self) -> None: selected_icon: GeotribuImage = self.cbb_icon.currentData() if selected_icon: icon_remote_url_parsed = urlparse(selected_icon.url) - icon_local_path = Path( - LOCAL_CDN_PATH / icon_remote_url_parsed.path[1:] - ) + icon_local_path = Path(LOCAL_CDN_PATH / icon_remote_url_parsed.path[1:]) md_txt += f"\n![selected_icon.description]({icon_local_path})\n" else: md_txt += "\n"