Skip to content

Commit

Permalink
fix: backwards compatibility changes for 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
bartei81 committed Jun 2, 2024
1 parent 590c484 commit bd11363
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rotary_controller_python/network/networkmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,14 +157,14 @@ def deactivate_connection(profile: ConnectionProfile):
return network_manager.deactivate_connection(active_connection=connection)


def get_connection_ssid(profile_id: str) -> str | None:
def get_connection_ssid(profile_id: str) -> str or None:
profile = get_profile_by_id(profile_id)
if profile is None:
return None
return profile.wireless.ssid


def get_connection_psk(profile_id: str) -> str | None:
def get_connection_psk(profile_id: str) -> str or None:
profile = get_profile_by_id(profile_id)
if profile is None:
return None
Expand Down

0 comments on commit bd11363

Please sign in to comment.