summaryrefslogtreecommitdiffstats
path: root/pyLoadCore.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-11-14 17:15:41 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-11-14 17:15:41 +0100
commit370556b5488621053d26d82a26eb550b95ec40ac (patch)
treefc4a45bfd19f91a59d8ad4e5f5c1105e7809cfee /pyLoadCore.py
parentFileServ fix (diff)
downloadpyload-370556b5488621053d26d82a26eb550b95ec40ac.tar.xz
hotfolder linklist fix
Diffstat (limited to 'pyLoadCore.py')
-rwxr-xr-xpyLoadCore.py6
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: