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)) 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 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