Skip to content

Commit

Permalink
Print message when connection added to elimiate warning confusion
Browse files Browse the repository at this point in the history
If the hostname is not changed, the warning message makes it look like
the network was not added when it in fact was. Adding a message saying
that the connection was added eliminates this confusion.
  • Loading branch information
rohbotics committed Apr 13, 2020
1 parent cd3649d commit 63a2623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pifi/pifi.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def add(ssid, password, var_io=var_io):
'ipv6': {'method': 'auto'}
}


print("Added connection %s, will attempt to connect to it on future reboots" % ssid)
pending.append(new_connection)

try:
Expand Down

0 comments on commit 63a2623

Please sign in to comment.