diff options
author | Leif Johansson <leifj@sunet.se> | 2011-10-25 11:02:44 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-10-25 11:02:44 +0200 |
commit | dc8aeeb6ceb22b9477d844b78eb5d7c61bdb56ec (patch) | |
tree | 8e69f2cdba414b5d083aee4c1cc697b1bd66dd11 /src/meetingtools/apps/room | |
parent | be5be665fefb00ee5ce8726017bf8c9b37410fc5 (diff) |
test
Diffstat (limited to 'src/meetingtools/apps/room')
-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'): |