diff --git a/plugins/PeerDb/PeerDbPlugin.py b/plugins/PeerDb/PeerDbPlugin.py index e88141a7..b4c8787b 100644 --- a/plugins/PeerDb/PeerDbPlugin.py +++ b/plugins/PeerDb/PeerDbPlugin.py @@ -45,7 +45,7 @@ class ContentDbPlugin(object): if not peer: # Already exist continue if row["hashfield"]: - peer.hashfield.replaceFromString(row["hashfield"]) + peer.hashfield.replaceFromBytes(row["hashfield"]) num_hashfield += 1 peer.time_added = row["time_added"] peer.time_found = row["time_found"]