Minor kong fix

Fixed syntax in get all titles
This commit is contained in:
Jacob Henry 2016-11-29 18:23:57 -05:00
parent 410164838c
commit d201304125
1 changed files with 2 additions and 1 deletions

View File

@ -68,7 +68,8 @@ class SongThread(threading.Thread):
def getAllTitles():
titles = []
for line in lyric_lines:
if m = patterns['start'].match(line):
m = patterns['start'].match(line)
if m:
titles += [m.group(1)]
return titles