Skip to content

Commit

Permalink
fix(form-rdp): LOCAL_CDN_PATH was unreachable
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed May 1, 2024
1 parent f2df1ab commit 18fb040
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qtribu/gui/form_rdp_news.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
GEORDP_NEWS_CATEGORIES,
GEORDP_NEWS_ICONS,
ICON_GEORDP,
LOCAL_CDN_PATH,
GeotribuImage,
)
from qtribu.toolbelt import NetworkRequestsManager, PlgLogger, PlgOptionsManager
Expand Down Expand Up @@ -163,7 +164,7 @@ def generate_preview(self) -> None:
if selected_icon:
icon_remote_url_parsed = urlparse(selected_icon.url)
icon_local_path = Path(
self.LOCAL_CDN_PATH / icon_remote_url_parsed.path[1:]
LOCAL_CDN_PATH / icon_remote_url_parsed.path[1:]
)
md_txt += f"\n![selected_icon.description]({icon_local_path})\n"
else:
Expand Down

0 comments on commit 18fb040

Please sign in to comment.