Skip to content

Commit 80cca9c

Browse files
committed
update Server.py file
1 parent cf08f3e commit 80cca9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/Server.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def connect(self):
9393
break
9494
res = b'1'
9595
command = command.replace(" ", "")
96-
if self.mc.closed() == True:
96+
if self.mc.isOpen() == False:
9797
self.mc.open()
9898
else:
9999
self.logger.info(command)

0 commit comments

Comments
 (0)