Tool/VoiceApp/webapp.py | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Tool/VoiceApp/webapp.py
@@ -61,8 +61,7 @@ keyStr = '%s_%s'%(playerID, voiceID) curTime = int(time.time()) if not voiceInfoDict: voiceInfoDict = shelve.open('voice.db') if dotype == 'upload': #存储 saveData = [curTime, content] voiceInfoDict[keyStr] = saveData @@ -107,8 +106,7 @@ def __DelOldVoice(): global voiceInfoDict if not voiceInfoDict: voiceInfoDict = shelve.open('voice.db') tick = int(time.time()) for voiceKey, voiceData in voiceInfoDict.items(): saveTime = voiceData[0]