From 9a9a8bfdc7c2cc265bec85231750ecb6295bd42c Mon Sep 17 00:00:00 2001 From: shortcutme Date: Mon, 18 Mar 2019 03:37:05 +0100 Subject: [PATCH] Fix peer loading --- plugins/PeerDb/PeerDbPlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]