summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2014-01-16 19:19:17 -0200
committerdrebs <drebs@leap.se>2014-01-17 14:43:08 -0200
commit7741a372157972dfe6a46a16ccdf860df1faa943 (patch)
tree953931a9043a836da6b81a3741f5475e5f659aab
parent3587985a014daefbae75351911b06485c3c91134 (diff)
Fix typo on tempfile.gettempdir() call.
-rw-r--r--server/src/leap/soledad/server/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/leap/soledad/server/__init__.py b/server/src/leap/soledad/server/__init__.py
index 4380966c..26c33222 100644
--- a/server/src/leap/soledad/server/__init__.py
+++ b/server/src/leap/soledad/server/__init__.py
@@ -204,7 +204,7 @@ class LockResource(object):
self._lock_doc_id = '%s%s' % (SHARED_DB_LOCK_DOC_ID_PREFIX, uuid)
self._lock = FilesystemLock(
os.path.join(
- tempfile.gettmpdir(),
+ tempfile.gettempdir(),
hashlib.sha512(self._lock_doc_id).hexdigest()))
self._state = state
self._responder = responder