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 c572f89 commit 590c484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rotary_controller_python/network/networkmanager.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def get_all_network_interface_names(
return names


def get_profile_by_id(profile_id: str = "ospi") -> ConnectionProfile | None:
def get_profile_by_id(profile_id: str = "ospi") -> ConnectionProfile or None:
nms = NetworkManagerSettings()
connections = nms.list_connections()
profiles = [NetworkConnectionSettings(item).get_profile() for item in connections]
Expand Down

0 comments on commit 590c484

Please sign in to comment.