Browse Source

Closes #120: sqlite error when caldavzap try to GET calendar_config

Bastien Sevajol (Algoo) 8 years ago
parent
commit
e71c48d216
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tracim/tracim/model/auth.py

+ 1 - 1
tracim/tracim/model/auth.py View File

@@ -268,7 +268,7 @@ class User(DeclarativeBase):
268 268
         validity_seconds = CFG.get_instance().USER_AUTH_TOKEN_VALIDITY
269 269
 
270 270
         if not self.auth_token or not self.auth_token_created:
271
-            self.auth_token = uuid.uuid4()
271
+            self.auth_token = str(uuid.uuid4())
272 272
             self.auth_token_created = datetime.utcnow()
273 273
             DBSession.flush()
274 274
             return