summaryrefslogtreecommitdiffstats
path: root/module/Api.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/Api.py')
-rw-r--r--module/Api.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/Api.py b/module/Api.py
index 502792cf6..aad61cd5f 100644
--- a/module/Api.py
+++ b/module/Api.py
@@ -238,9 +238,8 @@ class Api(Iface):
self.core.do_kill = True
def restart(self):
- """Not working, not likely to ever will"""
- pass
- #self.core.do_restart = True
+ """Restart pyload core"""
+ self.core.do_restart = True
@permission(PERMS.STATUS)
def getLog(self, offset=0):