forked from openlp/openlp
pep8 and extra logging info
This commit is contained in:
parent
dfcbaa8c28
commit
81f26dd9a3
@ -761,7 +761,10 @@ class PJLink1(QTcpSocket):
|
||||
if abort:
|
||||
self.change_status(E_NOT_CONNECTED)
|
||||
else:
|
||||
self.change_status(S_NOT_CONNECTED)
|
||||
log.debug('(%s) disconnect_from_host() Current status %s' % (self.ip,
|
||||
self._get_status(self.status_connect)[0]))
|
||||
if self.status_connect != E_NOT_CONNECTED:
|
||||
self.change_status(S_NOT_CONNECTED)
|
||||
self.reset_information()
|
||||
self.projectorUpdateIcons.emit()
|
||||
|
||||
|
@ -361,7 +361,8 @@ class ProjectorManager(OpenLPMixin, RegistryMixin, QtGui.QWidget, Ui_ProjectorMa
|
||||
for item in source_list.keys():
|
||||
sort.append(item)
|
||||
sort.sort()
|
||||
current = QtGui.QLabel(translate('OpenLP.ProjectorManager', 'Current source is %s' % source_list[projector.link.source]))
|
||||
current = QtGui.QLabel(translate('OpenLP.ProjectorManager', 'Current source is %s' %
|
||||
source_list[projector.link.source]))
|
||||
layout.addWidget(current)
|
||||
for item in sort:
|
||||
button = self._select_input_widget(parent=self,
|
||||
|
Loading…
Reference in New Issue
Block a user