Skip to content

Commit

Permalink
Fixed potential bug in enterUniqueWiFiPort.
Browse files Browse the repository at this point in the history
  • Loading branch information
Developer committed May 6, 2017
1 parent 856a95e commit bd99843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PropellerLoad.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def enterUniqueWiFiPort(self, newPort):
if Size == len(Modifier):
# Ran out of digits? Repeat Modifier
Name = UID
Size = 0
Size = 1

# UID is unique, create new entry (UID, Name, IP, MAC, MaxLife)
self.portRec.append([UID, getWiFiName(newPort), getWiFiIP(newPort), getWiFiMAC(newPort), wfMaxLife])
Expand Down

0 comments on commit bd99843

Please sign in to comment.