Browse Source

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

zry 8 years ago
parent
commit
1d8fe41f7b
1 changed files with 1 additions and 1 deletions
  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