diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-10-09 18:18:23 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-10-09 18:18:23 +0200 |
commit | 57cce481460efd7c9897c59652b544ef65063837 (patch) | |
tree | d3e8f4d1465e32c20028258d941c7eb56f15943d /module/web/api_app.py | |
parent | add filejungle.com, fix sharerapid.com (diff) | |
download | pyload-57cce481460efd7c9897c59652b544ef65063837.tar.xz |
updated js/mootools, some parts now coffeescript
Diffstat (limited to 'module/web/api_app.py')
-rw-r--r-- | module/web/api_app.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/module/web/api_app.py b/module/web/api_app.py index 61be8b510..25b9f7d3d 100644 --- a/module/web/api_app.py +++ b/module/web/api_app.py @@ -64,6 +64,8 @@ def callApi(func, *args, **kwargs): result = getattr(PYLOAD, func)(*[literal_eval(x) for x in args], **dict([(x, literal_eval(y)) for x, y in kwargs.iteritems()])) + if result is None: result = True + return json.dumps(result, cls=TBaseEncoder) |