Remove to_str from pickle.loads call

This commit is contained in:
Griatch 2019-01-17 20:38:30 +01:00
parent 7ca7fcb3ee
commit cc840555ce

View file

@ -679,7 +679,7 @@ def do_pickle(data):
def do_unpickle(data):
"""Retrieve pickle from pickled string"""
return loads(to_str(data))
return loads(data)
def dbserialize(data):