From d08e872062f0ed2ef28d1e5d3d5a32bac840a723 Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 28 Sep 2025 22:23:02 +0000 Subject: [PATCH] formatting --- bin/hooks/reject-and-explain.py | 2 +- copyparty/httpcli.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/hooks/reject-and-explain.py b/bin/hooks/reject-and-explain.py index 467795c4..6413d3a4 100644 --- a/bin/hooks/reject-and-explain.py +++ b/bin/hooks/reject-and-explain.py @@ -52,7 +52,7 @@ def main(): # the upload was rejected; display the following errortext: errmsg = "Files can only be uploaded into a folder named 'DayN' where N is a number, for example 'Day573'. This file was REJECTED: " - errmsg += inf["vp"] # if you want to mention the file's url at the end of the message + errmsg += inf["vp"] # if you want to mention the file's url print(json.dumps({"rejectmsg": errmsg})) diff --git a/copyparty/httpcli.py b/copyparty/httpcli.py index 21e441f1..6664c861 100644 --- a/copyparty/httpcli.py +++ b/copyparty/httpcli.py @@ -7124,7 +7124,7 @@ class HttpCli(object): title = str(vn.flags.get("og_title_v") or "") ogh["og:type"] = "video.other" ogh["og:video"] = j2a["og_raw"] - + tagmap = { "title": "og:title", ".dur": "og:video:duration",