gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[www] branch master updated: allow up to 800 chars


From: gnunet
Subject: [www] branch master updated: allow up to 800 chars
Date: Sun, 10 Nov 2019 16:11:14 +0100

This is an automated email from the git hooks/post-receive script.

martin-schanzenbach pushed a commit to branch master
in repository www.

The following commit(s) were added to refs/heads/master by this push:
     new 94f15e0  allow up to 800 chars
     new 1d465c0  Merge branch 'master' of git+ssh://gnunet.org/www
94f15e0 is described below

commit 94f15e0becffa4031c36d80c3de90c385fbbe6ed
Author: Schanzenbach, Martin <address@hidden>
AuthorDate: Sun Nov 10 16:07:58 2019 +0100

    allow up to 800 chars
---
 template.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/template.py b/template.py
index 9fe859f..607608f 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[:300] + '...') if len(text) > 300 else (text + 
'..')
+        textreduced = (text[:800] + '...') if len(text) > 800 else (text + 
'..')
         return(textreduced)
 
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]