forked from openlp/openlp
Fix bad data in process command
This commit is contained in:
parent
650c5007b2
commit
f468fbb47d
@ -636,6 +636,11 @@ class PJLink1(QTcpSocket):
|
|||||||
"""
|
"""
|
||||||
Error status. See PJLink Specifications for format.
|
Error status. See PJLink Specifications for format.
|
||||||
"""
|
"""
|
||||||
|
try:
|
||||||
|
dontcare = int(data)
|
||||||
|
except ValueError:
|
||||||
|
# Bad data - ignore
|
||||||
|
return
|
||||||
if int(data) == 0:
|
if int(data) == 0:
|
||||||
self.projector_errors = None
|
self.projector_errors = None
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user