From dc8aeeb6ceb22b9477d844b78eb5d7c61bdb56ec Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 25 Oct 2011 11:02:44 +0200 Subject: test --- src/meetingtools/apps/room/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meetingtools/apps/room/views.py b/src/meetingtools/apps/room/views.py index 4f6582a..aa08d9e 100644 --- a/src/meetingtools/apps/room/views.py +++ b/src/meetingtools/apps/room/views.py @@ -238,7 +238,7 @@ def _import_room(request,acc,r): modified = False room = None - if abs(room.lastupdate() - time.time()) < IMPORT_TTL: + if room and (abs(room.lastupdate() - time.time()) < IMPORT_TTL): return room if r.has_key('urlpath'): -- cgit v1.1