mirror of
https://github.com/9001/copyparty.git
synced 2025-12-27 10:15:16 -05:00
formatting
This commit is contained in:
@@ -52,7 +52,7 @@ def main():
|
|||||||
|
|
||||||
# the upload was rejected; display the following errortext:
|
# 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 = "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}))
|
print(json.dumps({"rejectmsg": errmsg}))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -7124,7 +7124,7 @@ class HttpCli(object):
|
|||||||
title = str(vn.flags.get("og_title_v") or "")
|
title = str(vn.flags.get("og_title_v") or "")
|
||||||
ogh["og:type"] = "video.other"
|
ogh["og:type"] = "video.other"
|
||||||
ogh["og:video"] = j2a["og_raw"]
|
ogh["og:video"] = j2a["og_raw"]
|
||||||
|
|
||||||
tagmap = {
|
tagmap = {
|
||||||
"title": "og:title",
|
"title": "og:title",
|
||||||
".dur": "og:video:duration",
|
".dur": "og:video:duration",
|
||||||
|
|||||||
Reference in New Issue
Block a user