Skip to content

Commit

Permalink
fix bugs when isSongbo == false
Browse files Browse the repository at this point in the history
  • Loading branch information
songbo committed Jun 10, 2015
1 parent 406a168 commit df54b68
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
Binary file modified pywin27.dll
Binary file not shown.
14 changes: 8 additions & 6 deletions wlan.py
Expand Up @@ -38,7 +38,7 @@
import sqlite3

#Configuration area
isSongBo = True
isSongBo = False
myWifiName = 'WLAN_sbo'
myWifiPassword = '12356789'

Expand Down Expand Up @@ -668,11 +668,13 @@ def main():
cPrint("[SUCCESS] Wifi %s is on work." % wifiName, COLOR.DARKGREEN)
cPrint("[INFO] Wifi Password:", COLOR.SILVER, mode = 1)
cPrint(" %s " % wifiPassword, COLOR.BROWN, mode = 0)
os.system("start %s" %startWebsite)
continue
else:
sleep(20)
continue
# os.system("start %s" %startWebsite)
sleep(1)
exit = True
continue
# else:
# sleep(20)
# continue
if isSpecifiedWlanAvailable(wlanName) == False:
cPrint("[WARNING] "+ wlanName + " is not in range", COLOR.DARKRED)
cleanLog()
Expand Down

0 comments on commit df54b68

Please sign in to comment.