Fixing a bug
This commit is contained in:
@@ -535,8 +535,8 @@ class ThemeList(object):
|
|||||||
|
|
||||||
# Try to find the starting index
|
# Try to find the starting index
|
||||||
key = (theme.source, theme.name)
|
key = (theme.source, theme.name)
|
||||||
for i, theme in enumerate(self.themes):
|
for i, val in enumerate(self.themes):
|
||||||
if (theme.source, theme.name) == key:
|
if (val.source, val.name) == key:
|
||||||
index = i
|
index = i
|
||||||
break
|
break
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user