fix new() problem
This commit is contained in:
parent
833bd3de41
commit
1c49b9c688
2 changed files with 6 additions and 4 deletions
2
local.py
2
local.py
|
@ -35,7 +35,7 @@ import time
|
|||
import SocketServer
|
||||
|
||||
def get_table(key):
|
||||
m = hashlib.md5.new()
|
||||
m = hashlib.md5()
|
||||
m.update(key)
|
||||
s = m.digest()
|
||||
(a, b) = struct.unpack('<QQ', s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue