truncate ridiculous extensions
This commit is contained in:
parent
d31f69117b
commit
3eb83f449b
@ -2182,6 +2182,8 @@ class HttpCli(object):
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
ext = "---" if is_dir else fn.rsplit(".", 1)[1]
|
ext = "---" if is_dir else fn.rsplit(".", 1)[1]
|
||||||
|
if len(ext) > 16:
|
||||||
|
ext = ext[:16]
|
||||||
except:
|
except:
|
||||||
ext = "%"
|
ext = "%"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user