Răsfoiți Sursa

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

zry 8 ani în urmă
părinte
comite
1d8fe41f7b
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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