startTLS: import and cosmetic fixes

This commit is contained in:
Alberto Sottile 2019-02-11 17:19:37 +01:00
parent 23f4d686f2
commit cb66180328
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ class SyncplayClient(object):
self._warnings = self._WarningManager(self._player, self.userlist, self.ui, self) self._warnings = self._WarningManager(self._player, self.userlist, self.ui, self)
self.fileSwitch = FileSwitchManager(self) self.fileSwitch = FileSwitchManager(self)
self.playlist = SyncplayPlaylist(self) self.playlist = SyncplayPlaylist(self)
self._serverSupportsTLS = True self._serverSupportsTLS = True
if constants.LIST_RELATIVE_CONFIGS and 'loadedRelativePaths' in self._config and self._config['loadedRelativePaths']: if constants.LIST_RELATIVE_CONFIGS and 'loadedRelativePaths' in self._config and self._config['loadedRelativePaths']:

View File

@ -7,7 +7,7 @@ import time
from string import Template from string import Template
from twisted.enterprise import adbapi from twisted.enterprise import adbapi
from twisted.internet import task, reactor, ssl from twisted.internet import task, reactor
from twisted.internet.protocol import Factory from twisted.internet.protocol import Factory
try: try: