mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 00:52:16 -06:00
dont crash if qrcode + mdns + uds
This commit is contained in:
parent
233075aee7
commit
ffc1610980
|
@ -566,7 +566,7 @@ class TcpSrv(object):
|
|||
ip = None
|
||||
ips = list(t1) + list(t2)
|
||||
qri = self.args.qri
|
||||
if self.args.zm and not qri:
|
||||
if self.args.zm and not qri and ips:
|
||||
name = self.args.name + ".local"
|
||||
t1[name] = next(v for v in (t1 or t2).values())
|
||||
ips = [name] + ips
|
||||
|
|
Loading…
Reference in a new issue