summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-10-13 14:44:31 +0200
committerLeif Johansson <leifj@sunet.se>2011-10-13 14:44:31 +0200
commit6ed2776f96f5f8efe51682b0fecb07587b7bb968 (patch)
treee3e021c7e8784df9ab173acc83dc003489b3e00a
parent81e609a599afa68a05f65cae708f4b11e0f329c2 (diff)
oops
-rw-r--r--src/meetingtools/apps/room/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meetingtools/apps/room/models.py b/src/meetingtools/apps/room/models.py
index a85eba0..38ae12c 100644
--- a/src/meetingtools/apps/room/models.py
+++ b/src/meetingtools/apps/room/models.py
@@ -59,7 +59,7 @@ class Room(models.Model):
return "%s (sco_id=%s,source_sco_id=%s,folder_sco_id=%s,urlpath=%s)" % (self.name,self.sco_id,self.source_sco_id,self.folder_sco_id,self.urlpath)
def _lockf(self):
- return LOCK_DIR+os.sep+"room-"+self.id+".lock"
+ return "%s%sroom-%d.lock" % (LOCK_DIR,os.sep,+self.id)
def lock(self):
f = open(self._lockf())