From 5856ef74a6649c86197e2cbc02f9b00a518a21a0 Mon Sep 17 00:00:00 2001 From: JarbasAI <33701864+JarbasAl@users.noreply.github.com> Date: Fri, 15 Nov 2024 20:42:22 +0000 Subject: [PATCH 1/3] fix: image urls (#138) --- ovos_bus_client/apis/gui.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ovos_bus_client/apis/gui.py b/ovos_bus_client/apis/gui.py index 9bfece0..e9a76f0 100644 --- a/ovos_bus_client/apis/gui.py +++ b/ovos_bus_client/apis/gui.py @@ -597,7 +597,7 @@ def show_image(self, url: str, caption: Optional[str] = None, False: 'Default' always show animations. """ url = self._resolve_url(url) - if not os.path.isfile(url): + if not url.startswith("http") and not os.path.isfile(url): LOG.error(f"Provided image file does not exist! '{url}'") return self["image"] = url @@ -633,7 +633,7 @@ def show_animated_image(self, url: str, caption: Optional[str] = None, False: 'Default' always show animations. """ url = self._resolve_url(url) - if not os.path.isfile(url): + if not url.startswith("http") and not os.path.isfile(url): LOG.error(f"Provided image file does not exist! '{url}'") return self["image"] = url From ff08474952c37913cd1501dfe3efd82defb4e4e3 Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Fri, 15 Nov 2024 20:42:40 +0000 Subject: [PATCH 2/3] Increment Version to 1.0.2a1 --- ovos_bus_client/version.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ovos_bus_client/version.py b/ovos_bus_client/version.py index 4198cf6..93175e9 100644 --- a/ovos_bus_client/version.py +++ b/ovos_bus_client/version.py @@ -1,6 +1,6 @@ # START_VERSION_BLOCK VERSION_MAJOR = 1 VERSION_MINOR = 0 -VERSION_BUILD = 1 -VERSION_ALPHA = 0 +VERSION_BUILD = 2 +VERSION_ALPHA = 1 # END_VERSION_BLOCK From a1cb40d412e5417816c52012ddddb52715e3db0a Mon Sep 17 00:00:00 2001 From: JarbasAl Date: Fri, 15 Nov 2024 20:43:06 +0000 Subject: [PATCH 3/3] Update Changelog --- CHANGELOG.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 660d484..22dd879 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,12 +1,12 @@ # Changelog -## [1.0.1a1](https://github.com/OpenVoiceOS/ovos-bus-client/tree/1.0.1a1) (2024-11-15) +## [1.0.2a1](https://github.com/OpenVoiceOS/ovos-bus-client/tree/1.0.2a1) (2024-11-15) -[Full Changelog](https://github.com/OpenVoiceOS/ovos-bus-client/compare/1.0.0...1.0.1a1) +[Full Changelog](https://github.com/OpenVoiceOS/ovos-bus-client/compare/1.0.1...1.0.2a1) **Merged pull requests:** -- fix: resolve image urls [\#136](https://github.com/OpenVoiceOS/ovos-bus-client/pull/136) ([JarbasAl](https://github.com/JarbasAl)) +- fix: image urls [\#138](https://github.com/OpenVoiceOS/ovos-bus-client/pull/138) ([JarbasAl](https://github.com/JarbasAl))