From 4cb4e820f665f0c7b9926904ea1a81f18c389fb4 Mon Sep 17 00:00:00 2001 From: ed Date: Thu, 5 Feb 2026 22:27:56 +0000 Subject: [PATCH] descript.ion without e2d/e2t; closes #1277 --- copyparty/httpcli.py | 7 ++++++- copyparty/web/shares.html | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 7679f4cd..85e25736 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -7323,10 +7323,15 @@ class HttpCli(object): else: fn, desc = ln.split(" ", 1) try: - items[fn.lower()]["tags"]["descript.ion"] = desc + item = items[fn.lower().strip("/")] except: t = "
  • %s %s
  • " rem.append(t % (html_escape(fn), html_escape(desc))) + continue + try: + item["tags"]["descript.ion"] = desc + except: + item["tags"] = {"descript.ion": desc} except: pass if "descript.ion" not in taglist: diff --git a/copyparty/web/shares.html b/copyparty/web/shares.html index 7f5c6556..9f60d07c 100644 --- a/copyparty/web/shares.html +++ b/copyparty/web/shares.html @@ -19,7 +19,7 @@ files control-panel - axs = perms (read,write,move,delet) + axs = perms (read,write,get) nf = numFiles (0=dir) min/hrs = time left