Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix errors in settings to log function

  • Loading branch information...
commit 033103e4b18a0075cbf2e1d2c2f302d604def82e 1 parent 49dca72
@Giftie authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  resources/lib/utils.py
View
2  resources/lib/utils.py
@@ -89,7 +89,7 @@ def settings_to_log( settings_path, script_heading="[utils.py]" ):
if not match:
match = re.search(""" <setting id="(.*?)" value='(.*?)'""", setting)
if match:
- log( "%30s: %s" % ( match.group(1), str( unescape( match.group(2) ) ) ), xbmc.LOGDEBUG )
+ log( "%30s: %s" % ( match.group(1), str( unescape( match.group(2).decode('utf-8', 'ignore') ) ) ), xbmc.LOGDEBUG )
except:
traceback.print_exc()

0 comments on commit 033103e

Please sign in to comment.
Something went wrong with that request. Please try again.