summaryrefslogtreecommitdiffstats
path: root/module/Api.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-10 21:45:09 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-10 21:45:09 +0200
commitd0c21a999ba8ddf0c1956415a27f215baa2f727d (patch)
tree07feeb37a12e95b45b91f5e1faaea19d1b5da613 /module/Api.py
parentshow queue in webif (diff)
downloadpyload-d0c21a999ba8ddf0c1956415a27f215baa2f727d.tar.xz
more documentation, some fixes
Diffstat (limited to 'module/Api.py')
-rw-r--r--module/Api.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/module/Api.py b/module/Api.py
index 15052e83a..975b43709 100644
--- a/module/Api.py
+++ b/module/Api.py
@@ -152,9 +152,11 @@ class Api(Iface):
return serverStatus
def freeSpace(self):
+ """Available free space at download directory in bytes"""
return freeSpace(self.core.config["general"]["download_folder"])
def getServerVersion(self):
+ """pyLoad Core version """
return self.core.version
def kill(self):