Преглед изворни кода

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