Fixing a bug

This commit is contained in:
Michael Lazar
2017-09-20 22:49:38 -04:00
parent fe29017d44
commit fc2cd296e4

View File

@@ -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: