Skip to content

Commit cce8273

Browse files
committed
Implement missed interface function in NullNetworkStatusMonitor
1 parent 42e8bf9 commit cce8273

File tree

1 file changed

+3
-0
lines changed
  • src/vorta/network_status

1 file changed

+3
-0
lines changed

src/vorta/network_status/abc.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,9 @@ class SystemWifiInfo(NamedTuple):
5454
class NullNetworkStatusMonitor(NetworkStatusMonitor):
5555
"""Dummy implementation, in case we don't have one for current platform."""
5656

57+
def is_network_active(self):
58+
return True
59+
5760
def is_network_status_available(self):
5861
return False
5962

0 commit comments

Comments
 (0)