[util] trim title length <= 80 (follow-up of ed12df2)

This commit is contained in:
Mort Yao 2017-11-17 17:08:31 +01:00
parent 2584b5d8bb
commit 99a51012f0
No known key found for this signature in database
GPG Key ID: 07DA00CB78203251

View File

@ -41,5 +41,5 @@ def legitimize(text, os=platform.system()):
if text.startswith("."):
text = text[1:]
text = text[:82] # Trim to 82 Unicode characters long
text = text[:80] # Trim to 82 Unicode characters long
return text