From bc8037d686bde955c446e8eac2016520f386e1e6 Mon Sep 17 00:00:00 2001 From: xnappo Date: Tue, 17 Mar 2015 15:18:27 -0500 Subject: [PATCH] Refactor fix --- resources/lib/ReadEmbyDB.py | 2 +- resources/lib/WriteKodiDB.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lib/ReadEmbyDB.py b/resources/lib/ReadEmbyDB.py index caa16c06..d06648d4 100644 --- a/resources/lib/ReadEmbyDB.py +++ b/resources/lib/ReadEmbyDB.py @@ -111,7 +111,7 @@ class ReadEmbyDB(): if newView.get("CollectionType") == "MovieMovies" or newView.get("CollectionType") == "TvShowSeries": view=newView if(view.get("ChildCount") != 0): - Name =(view.get("Name")).encode('utf-8') + Name =(view.get("Name")) total = str(view.get("ChildCount")) type = view.get("CollectionType") diff --git a/resources/lib/WriteKodiDB.py b/resources/lib/WriteKodiDB.py index 60ecb702..34f235ba 100644 --- a/resources/lib/WriteKodiDB.py +++ b/resources/lib/WriteKodiDB.py @@ -14,6 +14,7 @@ import os from DownloadUtils import DownloadUtils from CreateFiles import CreateFiles +from ReadKodiDB import ReadKodiDB from API import API import Utils as utils