From efee017fb2b3a4cac09233cd01d816d9100a5db5 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 25 May 2011 20:37:32 +0200 Subject: rehost plugin, fixed some account management issues --- pyLoadCore.py | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'pyLoadCore.py') 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: -- cgit v1.2.3