diff options
author | Leif Johansson <leifj@sunet.se> | 2011-10-13 14:44:31 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-10-13 14:44:31 +0200 |
commit | 6ed2776f96f5f8efe51682b0fecb07587b7bb968 (patch) | |
tree | e3e021c7e8784df9ab173acc83dc003489b3e00a /src/meetingtools/apps | |
parent | 81e609a599afa68a05f65cae708f4b11e0f329c2 (diff) |
oops
Diffstat (limited to 'src/meetingtools/apps')
-rw-r--r-- | src/meetingtools/apps/room/models.py | 2 |
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()) |