forked from openlp/openlp
Remove redundant logging and incrementProgressBar
This commit is contained in:
parent
1717e4fa4c
commit
ca3e938afe
@ -31,14 +31,11 @@ a MediaShout database into the OpenLP database.
|
||||
"""
|
||||
import re
|
||||
import os
|
||||
import logging
|
||||
import pyodbc
|
||||
|
||||
from openlp.core.lib import translate
|
||||
from openlp.plugins.songs.lib.songimport import SongImport
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
VERSE_TAGS = [u'V', u'C', u'B', u'O', u'P', u'I', u'E']
|
||||
|
||||
class MediaShoutImport(SongImport):
|
||||
|
@ -31,14 +31,11 @@ songs into the OpenLP database.
|
||||
"""
|
||||
import re
|
||||
import os
|
||||
import logging
|
||||
|
||||
from openlp.core.lib import translate
|
||||
from openlp.plugins.songs.lib import strip_rtf
|
||||
from openlp.plugins.songs.lib.songimport import SongImport
|
||||
|
||||
log = logging.getLogger(__name__)
|
||||
|
||||
class SongProImport(SongImport):
|
||||
"""
|
||||
The :class:`SongProImport` class provides the ability to import song files
|
||||
@ -106,8 +103,8 @@ class SongProImport(SongImport):
|
||||
self.setDefaults()
|
||||
if text:
|
||||
self.title = text
|
||||
self.importWizard.incrementProgressBar(u'Processing song ' + text,
|
||||
0)
|
||||
#self.importWizard.incrementProgressBar(u'Processing song ' + text,
|
||||
# 0)
|
||||
return
|
||||
elif tag == u'E':
|
||||
self.finish()
|
||||
|
Loading…
Reference in New Issue
Block a user