Explorar el Código

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

zry hace 8 años
padre
commit
1d8fe41f7b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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