summaryrefslogtreecommitdiff
path: root/src/meetingtools/apps/room
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-10-25 10:27:05 +0200
committerLeif Johansson <leifj@sunet.se>2011-10-25 10:27:05 +0200
commitbe5be665fefb00ee5ce8726017bf8c9b37410fc5 (patch)
tree8d27bed39583bc2ad7fb3d2469670499cfa15e4d /src/meetingtools/apps/room
parent66e101e7704c3799c1a8c72cdea16656884235bf (diff)
test
Diffstat (limited to 'src/meetingtools/apps/room')
-rw-r--r--src/meetingtools/apps/room/views.py4
1 files changed, 2 insertions, 2 deletions
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('/')