diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-11-14 17:15:41 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-11-14 17:15:41 +0100 |
commit | 370556b5488621053d26d82a26eb550b95ec40ac (patch) | |
tree | fc4a45bfd19f91a59d8ad4e5f5c1105e7809cfee /pyLoadCore.py | |
parent | FileServ fix (diff) | |
download | pyload-370556b5488621053d26d82a26eb550b95ec40ac.tar.xz |
hotfolder linklist fix
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-x | pyLoadCore.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyLoadCore.py b/pyLoadCore.py index 2c643e16b..c5669c496 100755 --- a/pyLoadCore.py +++ b/pyLoadCore.py @@ -287,6 +287,8 @@ class Core(object): self.do_restart = False self.shuttedDown = False + self.writePidFile() + self.log.info(_("Using home directory: %s") % getcwd()) #@TODO refractor @@ -366,9 +368,7 @@ class Core(object): f.close() self.scheduler.addJob(0, self.accountManager.getAccountInfos) - - self.writePidFile() - + while True: sleep(2) if self.do_restart: |