Skip to content

Commit

Permalink
Update flichub.py
Browse files Browse the repository at this point in the history
  • Loading branch information
JohNan authored Sep 27, 2023
1 parent 65be026 commit 824475f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pyflichub/flichub.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ def __init__(self, state, ssid):
self.ssid = ssid


def _decode_ssid(ssid_list):
return ''.join(chr(byte) for byte in ssid_list)
def _decode_ssid(ssid):
if ssid is None:
return None
return ''.join(chr(byte) for byte in ssid)


class FlicHubInfo:
Expand Down

0 comments on commit 824475f

Please sign in to comment.