From 4bcd3531dc33c1f0641911458926c35f47ad14b5 Mon Sep 17 00:00:00 2001 From: Tayfun ULU Date: Tue, 24 Oct 2017 08:44:49 +0300 Subject: [PATCH] Update main.py --- main.py | 1 - 1 file changed, 1 deletion(-) diff --git a/main.py b/main.py index 1f6575e..ff0711f 100644 --- a/main.py +++ b/main.py @@ -8,7 +8,6 @@ def do_connect(ntwrk_ssid, netwrk_pass): sta_if.active(True) if not sta_if.isconnected(): print('try to connect : '+ntwrk_ssid+' network...') - sta_if.active(True) sta_if.connect(ntwrk_ssid, netwrk_pass) a=0 while not sta_if.isconnected() | (a > 99) :