mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 09:49:29 +02:00
add mdns zeroconf announcer
This commit is contained in:
parent
fc0a941508
commit
b3eb117e87
29 changed files with 2581 additions and 52 deletions
|
@ -28,6 +28,7 @@ CKSUM = None
|
|||
STAMP = None
|
||||
|
||||
PY2 = sys.version_info < (3,)
|
||||
PY37 = sys.version_info > (3, 7)
|
||||
WINDOWS = sys.platform in ["win32", "msys"]
|
||||
sys.dont_write_bytecode = True
|
||||
me = os.path.abspath(os.path.realpath(__file__))
|
||||
|
@ -401,7 +402,7 @@ def run(tmp, j2, ftp):
|
|||
t.daemon = True
|
||||
t.start()
|
||||
|
||||
ld = (("", ""), (j2, "j2"), (ftp, "ftp"), (not PY2, "py2"))
|
||||
ld = (("", ""), (j2, "j2"), (ftp, "ftp"), (not PY2, "py2"), (PY37, "py37"))
|
||||
ld = [os.path.join(tmp, b) for a, b in ld if not a]
|
||||
|
||||
# skip 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue