This commit is contained in:
Kovid Goyal 2008-12-21 21:34:25 -08:00
commit 597448a793

View file

@ -8,10 +8,14 @@
import sys
from calibre import plugins
_lzx, LZXError = plugins['lzx']
_lzx, _error = plugins['lzx']
if _lzx is None:
raise RuntimeError('Failed to load the lzx plugin: %s' % _error)
__all__ = ['Compressor', 'Decompressor', 'LZXError']
LZXError = _lzx.LZXError
Compressor = _lzx.Compressor
class Decompressor(object):