Skip to content

Commit

Permalink
Implement missed interface function in NullNetworkStatusMonitor
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Zeigler <zeiglerr@gmail.com>
  • Loading branch information
rzeigler committed Dec 26, 2024
1 parent 42e8bf9 commit efc04e1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/vorta/network_status/abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ class SystemWifiInfo(NamedTuple):
class NullNetworkStatusMonitor(NetworkStatusMonitor):
"""Dummy implementation, in case we don't have one for current platform."""

def is_network_active(self):
return True

def is_network_status_available(self):
return False

Expand Down

0 comments on commit efc04e1

Please sign in to comment.