mirror of
https://github.com/9001/copyparty.git
synced 2026-11-15 07:58:22 +00:00
use --og-title as fallback if template gives blank result
This commit is contained in:
1 parent
36f2c446af
commit
48a6789d36
1 file changed
+1
-1
@@ -4857,7 +4857,7 @@ class HttpCli(object):
|
||||
while title.endswith(" - "):
|
||||
title = title[:3]
|
||||
|
||||
if vn.flags.get("og_s_title"):
|
||||
if vn.flags.get("og_s_title") or not title:
|
||||
title = str(vn.flags.get("og_title") or "")
|
||||
|
||||
for tag, hname in tagmap.items():
|
||||
|
||||
Reference in new issue
Block a user