forked from openlp/openlp
pep8
This commit is contained in:
parent
f468fbb47d
commit
8ea0917230
@ -637,11 +637,11 @@ class PJLink1(QTcpSocket):
|
|||||||
Error status. See PJLink Specifications for format.
|
Error status. See PJLink Specifications for format.
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
dontcare = int(data)
|
datacheck = int(data)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
# Bad data - ignore
|
# Bad data - ignore
|
||||||
return
|
return
|
||||||
if int(data) == 0:
|
if datacheck == 0:
|
||||||
self.projector_errors = None
|
self.projector_errors = None
|
||||||
else:
|
else:
|
||||||
self.projector_errors = {}
|
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_form.edit_page.editProjector.connect(self.edit_projector_from_wizard)
|
||||||
self.projector_list_widget.itemSelectionChanged.connect(self.update_icons)
|
self.projector_list_widget.itemSelectionChanged.connect(self.update_icons)
|
||||||
|
|
||||||
|
|
||||||
def context_menu(self, point):
|
def context_menu(self, point):
|
||||||
"""
|
"""
|
||||||
Build the Right Click Context menu and set state.
|
Build the Right Click Context menu and set state.
|
||||||
|
Loading…
Reference in New Issue
Block a user