Prevent connect manager loading via plugin

Prevent from testing connections if launching a sync
This commit is contained in:
angelblue05 2016-10-10 03:54:20 -05:00
parent 7149241b38
commit e1c2a04571

View file

@ -13,6 +13,7 @@ import read_embyserver as embyserver
import connect.connectionmanager as connectionmanager
from dialogs import ServerConnect, UsersConnect, LoginConnect, LoginManual, ServerManual
from ga_client import GoogleAnalytics
from utils import window
##################################################################################################
@ -34,7 +35,7 @@ class ConnectManager(object):
self.__dict__ = self._shared_state
if not self.state:
if not self.state and not window('emby_currUser'):
client_info = clientinfo.ClientInfo()
self.emby = embyserver.Read_EmbyServer()