diff options
Diffstat (limited to 'pyload/Api/__init__.py')
-rw-r--r-- | pyload/Api/__init__.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pyload/Api/__init__.py b/pyload/Api/__init__.py index 44bae48bc..f4e7d49ee 100644 --- a/pyload/Api/__init__.py +++ b/pyload/Api/__init__.py @@ -17,15 +17,15 @@ from pyload.utils import compare_time, freeSpace, safe_filename if activated: try: - from thrift.protocol import TBase + import thrift + from pyload.remote.thriftbackend.thriftgen.pyload.ttypes import * from pyload.remote.thriftbackend.thriftgen.pyload.Pyload import Iface - BaseObject = TBase + BaseObject = thrift.protocol.TBase except ImportError: from pyload.Api.types import * - print "Thrift not imported" else: |