Enable plugins for Peer class
This commit is contained in:
parent
20e3dc5fa7
commit
fcfd428b54
1 changed files with 2 additions and 0 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue