forked from openlp/openlp
fixed bug #1678632 'SongSelect Importer Infinite Loop'
This commit is contained in:
parent
18a236b227
commit
6d243557f5
@ -171,6 +171,7 @@ class SongSelectImport(object):
|
|||||||
callback(song)
|
callback(song)
|
||||||
songs.append(song)
|
songs.append(song)
|
||||||
if len(songs) >= max_results:
|
if len(songs) >= max_results:
|
||||||
|
self.run_search = False
|
||||||
break
|
break
|
||||||
current_page += 1
|
current_page += 1
|
||||||
return songs
|
return songs
|
||||||
|
Loading…
Reference in New Issue
Block a user