diff --git a/script.service.hue/addon.xml b/script.service.hue/addon.xml index 86bf2d32..f782526e 100644 --- a/script.service.hue/addon.xml +++ b/script.service.hue/addon.xml @@ -1,4 +1,4 @@ - + @@ -20,7 +20,7 @@ https://github.com/zim514/script.service.hue https://forum.kodi.tv/showthread.php?tid=344886 - v1.4.1 + Remove dependency with SimpleCache Fix service not disabling correctly Improved Hue error handling diff --git a/script.service.hue/resources/lib/reporting.py b/script.service.hue/resources/lib/reporting.py index 471eb0f1..ec4bec59 100644 --- a/script.service.hue/resources/lib/reporting.py +++ b/script.service.hue/resources/lib/reporting.py @@ -39,7 +39,7 @@ def _error_report_dialog(exc): def _report_error(level="critical", error="", exc=""): - if ["dev", "alpha", "beta"] in ADDONVERSION: + if any(val in ADDONVERSION for val in ["dev", "alpha", "beta"]): env = "dev" else: env = "production"