mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
IGN:...
This commit is contained in:
commit
597448a793
@ -8,10 +8,14 @@ __copyright__ = '2008, Marshall T. Vandegrift <llasram@gmail.com>'
|
|||||||
|
|
||||||
import sys
|
import sys
|
||||||
from calibre import plugins
|
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']
|
__all__ = ['Compressor', 'Decompressor', 'LZXError']
|
||||||
|
|
||||||
|
LZXError = _lzx.LZXError
|
||||||
Compressor = _lzx.Compressor
|
Compressor = _lzx.Compressor
|
||||||
|
|
||||||
class Decompressor(object):
|
class Decompressor(object):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user