소스 검색

Signed-off-by: zry <admin@z-touhou.org>

zry 8 년 전
부모
커밋
1d8fe41f7b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      swyzxwb_photovote/common/DataConvert.py

+ 1 - 1
swyzxwb_photovote/common/DataConvert.py

@@ -60,4 +60,4 @@ def Str2Date(strdate):
 	return datetime.date(t.tm_year,t.tm_mon,t.tm_mday)
 
 def UniqueID():
-	return hash(str(time.time())+str(random.random())) & 0xffffffff
+	return hash(str(time.time())+str(random.random())) & 0x0fffffff