diff --git a/openlp/plugins/remotes/lib/httpserver.py b/openlp/plugins/remotes/lib/httpserver.py index b66f0e215..3c87346cd 100644 --- a/openlp/plugins/remotes/lib/httpserver.py +++ b/openlp/plugins/remotes/lib/httpserver.py @@ -314,7 +314,7 @@ class HttpConnection(object): """ if not self.socket: return - html = self.send_408_timeout() + self.send_408_timeout() self.close() def disconnected(self): @@ -334,4 +334,3 @@ class HttpConnection(object): self.socket.close() self.socket = None self.parent.close_connection(self) - diff --git a/openlp/plugins/remotes/remoteplugin.py b/openlp/plugins/remotes/remoteplugin.py index 2c632d90d..bc1679fc9 100644 --- a/openlp/plugins/remotes/remoteplugin.py +++ b/openlp/plugins/remotes/remoteplugin.py @@ -25,9 +25,7 @@ import logging -from PyQt4 import QtNetwork, QtCore - -from openlp.core.lib import Plugin, Receiver +from openlp.core.lib import Plugin from openlp.plugins.remotes.lib import RemoteTab, HttpServer log = logging.getLogger(__name__) diff --git a/openlp/plugins/songs/forms/songimportform.py b/openlp/plugins/songs/forms/songimportform.py index 3049ed6c5..ff6b416c6 100644 --- a/openlp/plugins/songs/forms/songimportform.py +++ b/openlp/plugins/songs/forms/songimportform.py @@ -23,10 +23,7 @@ # Temple Place, Suite 330, Boston, MA 02111-1307 USA # ############################################################################### -import csv import logging -import os -import os.path from PyQt4 import QtCore, QtGui diff --git a/scripts/translation_utils.py b/scripts/translation_utils.py index 0135efeb6..8162b82b3 100755 --- a/scripts/translation_utils.py +++ b/scripts/translation_utils.py @@ -49,9 +49,7 @@ translations = [ u"en" , u"pt_BR" , u"es" , u"sv"] - - - + def write_file(filename, stringlist): content = u'' for line in stringlist: @@ -76,7 +74,6 @@ def main(): help="proceed all options") (options, args) = parser.parse_args() - qt_args = [] if options.download: downloadTranslations() elif options.prepare: