[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[www] 01/01: allow up to 1000 chars
From: |
gnunet |
Subject: |
[www] 01/01: allow up to 1000 chars |
Date: |
Sun, 10 Nov 2019 16:14:23 +0100 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch stable
in repository www.
commit 812fcd2c64b8b48ed67d1f1d9b1be5fdb57680c4
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Sun Nov 10 16:11:35 2019 +0100
allow up to 1000 chars
---
template.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/template.py b/template.py
index 607608f..d2dc5a9 100755
--- a/template.py
+++ b/template.py
@@ -166,7 +166,7 @@ def preview_text(filename):
k.append(i)
b = ''.join(str(e) for e in k)
text = b.replace("\n", "")
- textreduced = (text[:800] + '...') if len(text) > 800 else (text +
'..')
+ textreduced = (text[:1000] + '...') if len(text) > 1000 else (text +
'..')
return(textreduced)
--
To stop receiving notification emails like this one, please contact
address@hidden.