pep8 fixes

This commit is contained in:
Tomas Groth 2015-10-10 21:50:59 +01:00
parent 847f4fdb18
commit 19bd2dd25a
2 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ class RemoteTab(SettingsTab):
self.qr_description_label.setText( self.qr_description_label.setText(
translate('RemotePlugin.RemoteTab', 'Scan the QR code or click <a href="%s">download</a> to install the ' translate('RemotePlugin.RemoteTab', 'Scan the QR code or click <a href="%s">download</a> to install the '
'Android app from Google Play.') % 'Android app from Google Play.') %
'https://play.google.com/store/apps/details?id=org.openlp.android2') 'https://play.google.com/store/apps/details?id=org.openlp.android2')
self.https_settings_group_box.setTitle(translate('RemotePlugin.RemoteTab', 'HTTPS Server')) self.https_settings_group_box.setTitle(translate('RemotePlugin.RemoteTab', 'HTTPS Server'))
self.https_error_label.setText( self.https_error_label.setText(
translate('RemotePlugin.RemoteTab', 'Could not find an SSL certificate. The HTTPS server will not be ' translate('RemotePlugin.RemoteTab', 'Could not find an SSL certificate. The HTTPS server will not be '

View File

@ -80,7 +80,7 @@ class SongsTab(SettingsTab):
self.display_songbook_check_box.setText(translate('SongsPlugin.SongsTab', 'Display songbook in footer')) self.display_songbook_check_box.setText(translate('SongsPlugin.SongsTab', 'Display songbook in footer'))
self.display_copyright_check_box.setText(translate('SongsPlugin.SongsTab', self.display_copyright_check_box.setText(translate('SongsPlugin.SongsTab',
'Display "%s" symbol before copyright info') % 'Display "%s" symbol before copyright info') %
SongStrings.CopyrightSymbol) SongStrings.CopyrightSymbol)
def on_search_as_type_check_box_changed(self, check_state): def on_search_as_type_check_box_changed(self, check_state):
self.song_search = (check_state == QtCore.Qt.Checked) self.song_search = (check_state == QtCore.Qt.Checked)