Fix dialog

This commit is contained in:
angelblue05 2015-12-27 17:06:50 -06:00
parent e475d3366d
commit 601f578892

View file

@ -936,15 +936,12 @@ class LibrarySync(threading.Thread):
if self.shouldStop():
return False
if pdialog:
percentage = int((float(count) / float(total))*100)
pdialog.update(percentage, message=title)
count += 1
title = episode['SeriesName']
episodetitle = episode['Name']
if pdialog:
percentage = int((float(count) / float(total))*100)
pdialog.update(percentage, message="%s - %s" % (title, episodetitle))
count += 1
tvshows.add_updateEpisode(episode)
else:
self.logMsg("TVShows finished.", 2)