We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c51bcc commit b5d512dCopy full SHA for b5d512d
lightify/__init__.py
@@ -27,7 +27,7 @@
27
import struct
28
import logging
29
30
-__version__ = '1.0.1'
+__version__ = '1.0.2'
31
32
MODULE = __name__
33
PORT = 4000
@@ -191,13 +191,13 @@ def __init__(self, host):
191
192
try:
193
self.__sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
194
- except socket.error, msg:
+ except socket.error as msg:
195
sys.stderr.write("[ERROR] %s\n" % msg[1])
196
sys.exit(1)
197
198
199
self.__sock.connect((host, PORT))
200
201
202
sys.exit(2)
203
0 commit comments