Skip to content

Commit

Permalink
Fix error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
zim514 committed Jan 21, 2023
1 parent b1dd1cd commit 448800f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions script.service.hue/addon.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<addon id="script.service.hue" name="Hue Service" provider-name="zim514" version="1.4.2">
<addon id="script.service.hue" name="Hue Service" provider-name="zim514" version="1.4.3">
<requires>
<import addon="xbmc.python" version="3.0.0"/>
<import addon="script.module.requests" version="2.27.1"/>
Expand All @@ -20,7 +20,7 @@
</assets>
<source>https://github.com/zim514/script.service.hue</source>
<forum>https://forum.kodi.tv/showthread.php?tid=344886</forum>
<news>v1.4.1
<news>
Remove dependency with SimpleCache
Fix service not disabling correctly
Improved Hue error handling
Expand Down
2 changes: 1 addition & 1 deletion script.service.hue/resources/lib/reporting.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 448800f

Please sign in to comment.