]> git.parisson.com Git - teleforma.git/commitdiff
try bugfix
authorGuillaume Pellerin <yomguy@parisson.com>
Sun, 20 Jul 2014 17:51:42 +0000 (19:51 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Sun, 20 Jul 2014 17:51:42 +0000 (19:51 +0200)
teleforma/views/pro.py

index dac1b1f447ca37f3a4c545c81f9ff70da56f419e..c02e4b2b78792855527f16f4e906263fa9b08b8e 100644 (file)
@@ -106,7 +106,7 @@ def set_revision(user, seminar):
     if revisions:
         r = revisions[0]
         now = datetime.datetime.now()
-        if (now - r.date) > datetime.timedelta(seconds = 5):
+        if (now - r.date) > datetime.timedelta(seconds = 10):
             r.date_modified = now
     else:
         r = SeminarRevision(seminar=seminar, user=user)