summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-25 20:37:32 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-25 20:37:32 +0200
commitefee017fb2b3a4cac09233cd01d816d9100a5db5 (patch)
tree58635208703ae98e2359e160860f7ea7af68445f /pyLoadCore.py
parentRealdebridCom plugin (diff)
downloadpyload-efee017fb2b3a4cac09233cd01d816d9100a5db5.tar.xz
rehost plugin, fixed some account management issues
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py17
1 files changed, 10 insertions, 7 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py
index be06dc5ee..d9f795026 100755
--- a/pyLoadCore.py
+++ b/pyLoadCore.py
@@ -297,7 +297,7 @@ class Core(object):
self.do_restart = False
self.shuttedDown = False
- self.log.info("pyLoad %s" % CURRENT_VERSION)
+ self.log.info(_("Starting") + " pyLoad %s" % CURRENT_VERSION)
self.log.info(_("Using home directory: %s") % getcwd())
self.writePidFile()
@@ -359,12 +359,6 @@ class Core(object):
self.log.info(_("Free space: %s") % formatSize(spaceLeft))
- self.threadManager.pause = False
- #self.threadManager.start()
-
- self.running = True
- self.hookManager.coreReady()
-
self.config.save() #save so config files gets filled
link_file = join(pypath, "links.txt")
@@ -386,6 +380,15 @@ class Core(object):
self.log.info(_("Activating Accounts..."))
self.accountManager.getAccountInfos()
+
+ self.threadManager.pause = False
+ self.running = True
+
+ self.log.info(_("Activating Plugins..."))
+ self.hookManager.coreReady()
+
+ self.log.info(_("pyLoad is up and running"))
+
while True:
sleep(2)
if self.do_restart: