forked from openlp/openlp
More PEP8 fixes
This commit is contained in:
parent
b6e0aa6c2e
commit
85fc53954d
@ -320,7 +320,7 @@ class Ui_MainWindow(object):
|
|||||||
# i18n add Language Actions
|
# i18n add Language Actions
|
||||||
add_actions(self.settings_language_menu, (self.auto_language_item, None))
|
add_actions(self.settings_language_menu, (self.auto_language_item, None))
|
||||||
add_actions(self.settings_language_menu, self.language_group.actions())
|
add_actions(self.settings_language_menu, self.language_group.actions())
|
||||||
# Qt on OS X look for keywords in the menu items title to determine which menu items get added to the main menu.
|
# Qt on OS X look for keywords in the menu items title to determine which menu items get added to the main menu.
|
||||||
# If we are running on Mac OS X the menu items whose title contains those keywords but don't belong in the main
|
# If we are running on Mac OS X the menu items whose title contains those keywords but don't belong in the main
|
||||||
# menu need to be marked as such with QAction.NoRole.
|
# menu need to be marked as such with QAction.NoRole.
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
|
@ -137,7 +137,7 @@ class SongBeamerImport(SongImport):
|
|||||||
if line.startswith('#') and not read_verses:
|
if line.startswith('#') and not read_verses:
|
||||||
self.parseTags(line)
|
self.parseTags(line)
|
||||||
elif line.startswith('--'):
|
elif line.startswith('--'):
|
||||||
# --- and -- allowed for page-breaks (difference in Songbeamer only in printout)
|
# --- and -- allowed for page-breaks (difference in Songbeamer only in printout)
|
||||||
if self.current_verse:
|
if self.current_verse:
|
||||||
self.replace_html_tags()
|
self.replace_html_tags()
|
||||||
self.add_verse(self.current_verse, self.current_verse_type)
|
self.add_verse(self.current_verse, self.current_verse_type)
|
||||||
|
Loading…
Reference in New Issue
Block a user