Refactor fix

This commit is contained in:
xnappo 2015-03-17 15:18:27 -05:00
parent 37ca11bf8b
commit bc8037d686
2 changed files with 2 additions and 1 deletions

View file

@ -111,7 +111,7 @@ class ReadEmbyDB():
if newView.get("CollectionType") == "MovieMovies" or newView.get("CollectionType") == "TvShowSeries": if newView.get("CollectionType") == "MovieMovies" or newView.get("CollectionType") == "TvShowSeries":
view=newView view=newView
if(view.get("ChildCount") != 0): if(view.get("ChildCount") != 0):
Name =(view.get("Name")).encode('utf-8') Name =(view.get("Name"))
total = str(view.get("ChildCount")) total = str(view.get("ChildCount"))
type = view.get("CollectionType") type = view.get("CollectionType")

View file

@ -14,6 +14,7 @@ import os
from DownloadUtils import DownloadUtils from DownloadUtils import DownloadUtils
from CreateFiles import CreateFiles from CreateFiles import CreateFiles
from ReadKodiDB import ReadKodiDB
from API import API from API import API
import Utils as utils import Utils as utils