From be5be665fefb00ee5ce8726017bf8c9b37410fc5 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 25 Oct 2011 10:27:05 +0200 Subject: test --- src/meetingtools/apps/room/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/meetingtools/apps/room/views.py b/src/meetingtools/apps/room/views.py index cf79c92..4f6582a 100644 --- a/src/meetingtools/apps/room/views.py +++ b/src/meetingtools/apps/room/views.py @@ -238,8 +238,8 @@ def _import_room(request,acc,r): modified = False room = None - #if abs(room.lastupdate() - time.time()) < IMPORT_TTL: - # return room + if abs(room.lastupdate() - time.time()) < IMPORT_TTL: + return room if r.has_key('urlpath'): r['urlpath'] = r['urlpath'].strip('/') -- cgit v1.1