forked from openlp/openlp
pep8
This commit is contained in:
parent
f468fbb47d
commit
8ea0917230
@ -467,7 +467,7 @@ class PJLink1(QTcpSocket):
|
||||
return
|
||||
self.send_busy = True
|
||||
log.debug('(%s) _sed_string(): Sending "%s"' % (self.ip, out))
|
||||
log.debug('(%s) _send_string(): Queue = %s' % ( self.ip, self.send_queue))
|
||||
log.debug('(%s) _send_string(): Queue = %s' % (self.ip, self.send_queue))
|
||||
try:
|
||||
self.projectorNetwork.emit(S_NETWORK_SENDING)
|
||||
sent = self.write(out)
|
||||
@ -637,11 +637,11 @@ class PJLink1(QTcpSocket):
|
||||
Error status. See PJLink Specifications for format.
|
||||
"""
|
||||
try:
|
||||
dontcare = int(data)
|
||||
datacheck = int(data)
|
||||
except ValueError:
|
||||
# Bad data - ignore
|
||||
return
|
||||
if int(data) == 0:
|
||||
if datacheck == 0:
|
||||
self.projector_errors = None
|
||||
else:
|
||||
self.projector_errors = {}
|
||||
|
@ -259,7 +259,6 @@ class ProjectorManager(OpenLPMixin, RegistryMixin, QtGui.QWidget, Ui_ProjectorMa
|
||||
self.projector_form.edit_page.editProjector.connect(self.edit_projector_from_wizard)
|
||||
self.projector_list_widget.itemSelectionChanged.connect(self.update_icons)
|
||||
|
||||
|
||||
def context_menu(self, point):
|
||||
"""
|
||||
Build the Right Click Context menu and set state.
|
||||
|
Loading…
Reference in New Issue
Block a user