forked from openlp/openlp
Style, no "is" to compare strings.
This commit is contained in:
parent
86df7d9734
commit
dca74bd144
@ -77,7 +77,7 @@ class OpenLyricsImport(SongImport):
|
||||
except OpenLyricsError as exception:
|
||||
log.exception(u'OpenLyricsException of type %s: %s in file %s'
|
||||
% (exception.type, exception.message, file_path))
|
||||
if exception.type is 'XML':
|
||||
if exception.type == 'XML':
|
||||
self.logError(file_path, SongStrings.XMLSyntaxError)
|
||||
else:
|
||||
self.logError(file_path, exception.message)
|
||||
|
Loading…
Reference in New Issue
Block a user