summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/Api.py5
-rw-r--r--module/InitHomeDir.py1
2 files changed, 4 insertions, 2 deletions
diff --git a/module/Api.py b/module/Api.py
index 1a69a0a27..54aeff669 100644
--- a/module/Api.py
+++ b/module/Api.py
@@ -183,8 +183,9 @@ class Api(Iface):
self.core.do_kill = True
def restart(self):
- """Untested"""
- self.core.do_restart = True
+ """Not working, not likely to ever will"""
+ pass
+ #self.core.do_restart = True
def getLog(self, offset=0):
"""Returns most recent log entries.
diff --git a/module/InitHomeDir.py b/module/InitHomeDir.py
index 9a0fb60d8..156c9f932 100644
--- a/module/InitHomeDir.py
+++ b/module/InitHomeDir.py
@@ -25,6 +25,7 @@ import sys
from sys import argv, platform
import __builtin__
+__builtin__.owd = path.abspath("") #original working directory
__builtin__.pypath = path.abspath(path.join(__file__, "..", ".."))
sys.path.append(join(pypath, "module", "lib"))