Use FileServer to avoid plugin incompatiblity problems

This commit is contained in:
shortcutme 2018-06-21 21:57:06 +02:00
parent b6364941a0
commit 8b91abd0dc
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ from Crypt import CryptHash
from util import helper
from util import Diff
from Plugin import PluginManager
from Connection import ConnectionServer
from File import FileServer
from SiteAnnouncer import SiteAnnouncer
import SiteManager
@ -57,7 +57,7 @@ class Site(object):
self.connection_server = sys.modules["main"].file_server
else:
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