Fixing a bug

This commit is contained in:
Michael Lazar committed 2017-09-20 22:49:38 -04:00
1 parent fe29017d44
commit fc2cd296e4
1 file changed
+2 -2
+2 -2
View File
@@ -535,8 +535,8 @@ class ThemeList(object):
# Try to find the starting index
key = (theme.source, theme.name)
for i, theme in enumerate(self.themes):
if (theme.source, theme.name) == key:
for i, val in enumerate(self.themes):
if (val.source, val.name) == key:
index = i
break
else: