summaryrefslogtreecommitdiffstats
path: root/module/remote/json_converter.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-02-28 20:20:01 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-02-28 20:20:01 +0100
commit6b84b9c69ed75baee9c2cdfa758eddcec10b8b23 (patch)
treebd753ec5a8988c798356a4f94de2034fb568b439 /module/remote/json_converter.py
parentprepared dashboard actionbar (diff)
downloadpyload-6b84b9c69ed75baee9c2cdfa758eddcec10b8b23.tar.xz
generate js_apitypes, updated lodash, working type filters on webui
Diffstat (limited to 'module/remote/json_converter.py')
-rw-r--r--module/remote/json_converter.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/remote/json_converter.py b/module/remote/json_converter.py
index 5b85f30cd..256674c34 100644
--- a/module/remote/json_converter.py
+++ b/module/remote/json_converter.py
@@ -7,9 +7,9 @@ except ImportError:
import json
-import ttypes
-from ttypes import BaseObject
-from ttypes import ExceptionObject
+import apitypes
+from apitypes import BaseObject
+from apitypes import ExceptionObject
# compact json separator
separators = (',', ':')
@@ -29,7 +29,7 @@ class BaseEncoder(json.JSONEncoder):
def convert_obj(dct):
if '@class' in dct:
- cls = getattr(ttypes, dct['@class'])
+ cls = getattr(apitypes, dct['@class'])
del dct['@class']
return cls(**dct)