diff options
-rw-r--r-- | src/meetingtools/apps/room/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
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'): |