Enable plugins for Peer class

This commit is contained in:
shortcutme 2017-10-03 14:56:42 +02:00
parent 20e3dc5fa7
commit fcfd428b54
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -9,12 +9,14 @@ from Debug import Debug
from Config import config
from util import helper
from PeerHashfield import PeerHashfield
from Plugin import PluginManager
if config.use_tempfiles:
import tempfile
# Communicate remote peers
@PluginManager.acceptPlugins
class Peer(object):
__slots__ = (
"ip", "port", "site", "key", "connection", "connection_server", "time_found", "time_response", "time_hashfield", "time_added", "has_hashfield",