forked from openlp/openlp
commit
3324bcf6aa
|
@ -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)
|
||||
|
||||
|
|
|
@ -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__)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue