From 969ddcfbac0e1143e71e645e9cd0c789205fb4dd Mon Sep 17 00:00:00 2001 From: "Fanani M. Ihsan" Date: Thu, 26 May 2016 13:06:33 +0700 Subject: [PATCH] update test and README --- README.md | 1 + test.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a09603f..bd886fb 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ The usage is very simple, just Create new ZK instance and you will ready to call * Basic Ussage ``` import zk +from zk import const zk = zk.ZK(ip='192.168.1.201', port=4370, timeout=5) try: diff --git a/test.py b/test.py index ddda194..6ce9724 100644 --- a/test.py +++ b/test.py @@ -1,9 +1,9 @@ # -*- coding: utf-8 -*- import sys -from zk import const sys.path.append("zk") import zk +from zk import const zk = zk.ZK('192.168.1.201') print 'Connecting to device ...'