update test
This commit is contained in:
parent
c9d11156a3
commit
c2b1a7e6b7
2
test.py
2
test.py
@ -5,7 +5,7 @@ sys.path.append("zk")
|
|||||||
import zk
|
import zk
|
||||||
from zk import const
|
from zk import const
|
||||||
|
|
||||||
zk = zk.ZK('192.168.1.201')
|
zk = zk.ZK('192.168.1.201', port=4370, timeout=5)
|
||||||
print 'Connecting to device ...'
|
print 'Connecting to device ...'
|
||||||
conn = zk.connect()
|
conn = zk.connect()
|
||||||
if conn.get('status'):
|
if conn.get('status'):
|
||||||
|
Loading…
Reference in New Issue
Block a user