Use FileServer to avoid plugin incompatiblity problems
This commit is contained in:
parent
b6364941a0
commit
8b91abd0dc
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ from Crypt import CryptHash
|
||||||
from util import helper
|
from util import helper
|
||||||
from util import Diff
|
from util import Diff
|
||||||
from Plugin import PluginManager
|
from Plugin import PluginManager
|
||||||
from Connection import ConnectionServer
|
from File import FileServer
|
||||||
from SiteAnnouncer import SiteAnnouncer
|
from SiteAnnouncer import SiteAnnouncer
|
||||||
import SiteManager
|
import SiteManager
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ class Site(object):
|
||||||
self.connection_server = sys.modules["main"].file_server
|
self.connection_server = sys.modules["main"].file_server
|
||||||
else:
|
else:
|
||||||
self.log.debug("Creating connection server") # remove
|
self.log.debug("Creating connection server") # remove
|
||||||
self.connection_server = ConnectionServer()
|
self.connection_server = FileServer()
|
||||||
|
|
||||||
self.announcer = SiteAnnouncer(self) # Announce and get peer list from other nodes
|
self.announcer = SiteAnnouncer(self) # Announce and get peer list from other nodes
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue