mirror of
https://github.com/9001/copyparty.git
synced 2026-11-22 13:52:33 +00:00
fix mdns on windows
This commit is contained in:
1 parent
2fbdc0a85e
commit
99efc290df
12 files changed
+90
-198
No files matched your search
@@ -38,6 +38,7 @@ from .util import (
|
||||
Garda,
|
||||
Magician,
|
||||
NetMap,
|
||||
Netdev,
|
||||
ipnorm,
|
||||
min_ex,
|
||||
shut_socket,
|
||||
@@ -140,7 +141,7 @@ class HttpSrv(object):
|
||||
except:
|
||||
pass
|
||||
|
||||
def set_netdevs(self, netdevs: dict[str, str]) -> None:
|
||||
def set_netdevs(self, netdevs: dict[str, Netdev]) -> None:
|
||||
self.nm = NetMap([self.ip], netdevs)
|
||||
|
||||
def start_threads(self, n: int) -> None:
|
||||
|
||||
Reference in new issue
Block a user