fixed bug #1678632 'SongSelect Importer Infinite Loop'

This commit is contained in:
Kyle Nweeia 2018-10-31 21:25:43 -04:00
parent 18a236b227
commit 6d243557f5

View File

@ -171,6 +171,7 @@ class SongSelectImport(object):
callback(song)
songs.append(song)
if len(songs) >= max_results:
self.run_search = False
break
current_page += 1
return songs