From 8532df64e4203ba942ddafbc6c9742b58dc2861e Mon Sep 17 00:00:00 2001 From: inpos Date: Mon, 14 Mar 2016 13:07:48 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=BE=D0=B3=20=D0=B2=20=D1=8E=D0=BD?= =?UTF-8?q?=D0=B8=D0=BA=D0=BE=D0=B4=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/pyrrent2http/engine.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pyrrent2http/engine.py b/lib/pyrrent2http/engine.py index 9d6c658..b0d6362 100644 --- a/lib/pyrrent2http/engine.py +++ b/lib/pyrrent2http/engine.py @@ -6,7 +6,7 @@ import pyrrent2http import xbmc from error import Error from . import SessionStatus, FileStatus, PeerInfo, Encryption -from util import can_bind, find_free_port, localize_path, uri2path +from util import can_bind, find_free_port, localize_path, uri2path, normalize_msg import threading LOGGING = True @@ -19,7 +19,7 @@ class Engine: if self.logger: self.logger(message) else: - xbmc.log("[pyrrent2http] %s" % message) + xbmc.log(normalize_msg("[pyrrent2http] %s", (message,))) def __init__(self, uri=None, platform=None, download_path=".",