summaryrefslogtreecommitdiffstats
path: root/pyload/Core.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/Core.py')
-rwxr-xr-xpyload/Core.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/Core.py b/pyload/Core.py
index eb6a968b4..545c1d63d 100755
--- a/pyload/Core.py
+++ b/pyload/Core.py
@@ -360,11 +360,11 @@ class Core(object):
self.lastClientConnected = 0
# later imported because they would trigger api import, and remote value not set correctly
- from pyload.api import Api
+ from pyload.Api import Api
from pyload.manager.Addon import AddonManager
from pyload.manager.Thread import ThreadManager
- if pyload.api.activated != self.remote:
+ if pyload.Api.activated != self.remote:
self.log.warning("Import error: API remote status not correct.")
self.api = Api(self)