Fixed the songshowplus importer returning when it shouldn't (as pointed out by jerryb)

bzr-revno: 1521
This commit is contained in:
Andreas Preikschat 2011-05-06 10:44:52 +02:00
commit 4f2740cbb0

View File

@ -97,7 +97,7 @@ class SongShowPlusImport(SongImport):
"""
Receive a single file or a list of files to import.
"""
if isinstance(self.import_source, list):
if not isinstance(self.import_source, list):
return
self.import_wizard.progressBar.setMaximum(len(self.import_source))
for file in self.import_source: