mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 08:13:13 +02:00
IGN:...
This commit is contained in:
commit
597448a793
1 changed files with 5 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in a new issue