Skip to content

Commit

Permalink
Update wifi_logger.py
Browse files Browse the repository at this point in the history
  • Loading branch information
annndruha committed Feb 24, 2024
1 parent 639bcbb commit 628b3c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions wifi_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ def compare_states(old, new):
removed_keys = list(set(old.keys()) - set(new.keys()))
message = ''
for nc in new_keys:
message += f' {new[nc]}%0A'
message += f'🟢 {new[nc]}%0A'

for rc in removed_keys:
message += f' {old[rc]}%0A'
message += f'🔴 {old[rc]}%0A'

if len(message):
message = f'📶 {WIFI_NAME}:%0A' + message
Expand Down

0 comments on commit 628b3c8

Please sign in to comment.