소스 검색

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

Bastien Sevajol (Algoo) 8 년 전
부모
커밋
e71c48d216
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tracim/tracim/model/auth.py

+ 1 - 1
tracim/tracim/model/auth.py 파일 보기

@@ -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