diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-02-07 23:44:35 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-02-07 23:44:35 +0000 |
| commit | a3ccac772dd40db6e4878f1a818dfb346ac27341 (patch) | |
| tree | d392078e7cc807bf26c8d18fbc118818ba3dddf5 | |
| parent | 35eb65423843d8e6aa8b614aaa4a39fa0b06993d (diff) | |
| download | enigma2-a3ccac772dd40db6e4878f1a818dfb346ac27341.tar.gz enigma2-a3ccac772dd40db6e4878f1a818dfb346ac27341.zip | |
timer: convert stored messages to UTF-8 when loading
| -rw-r--r-- | RecordTimer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RecordTimer.py b/RecordTimer.py index 4cfada5a..2835a388 100644 --- a/RecordTimer.py +++ b/RecordTimer.py @@ -205,7 +205,7 @@ def createTimer(xml): for l in elementsWithTag(xml.childNodes, "log"): time = int(l.getAttribute("time")) code = int(l.getAttribute("code")) - msg = mergeText(l.childNodes).strip() + msg = mergeText(l.childNodes).strip().encode("utf-8") entry.log_entries.append((time, code, msg)) return entry |
