Fix mixed content shortcut

This commit is contained in:
angelblue05 2018-09-19 15:55:50 -05:00
parent 21e780715e
commit 5361fed96c

View file

@ -102,7 +102,6 @@ class Views(object):
def __init__(self): def __init__(self):
self.sync = get_sync() self.sync = get_sync()
self.window = {}
self.server = Emby() self.server = Emby()
def add_library(self, view): def add_library(self, view):
@ -651,7 +650,7 @@ class Views(object):
temp_view['Media'] = media temp_view['Media'] = media
temp_view['Name'] = "%s (%s)" % (view['Name'], _(media)) temp_view['Name'] = "%s (%s)" % (view['Name'], _(media))
self.window_node(index, temp_view, *node) self.window_node(index, temp_view, *node)
self.window_wnode(windex, view, *node) self.window_wnode(windex, temp_view, *node)
else: # Add one to compensate for the duplicate. else: # Add one to compensate for the duplicate.
index += 1 index += 1
windex += 1 windex += 1