mirror of
https://github.com/noDRM/DeDRM_tools.git
synced 2024-11-18 20:06:09 +06:00
DeDRM ion: Clean out errorneous whitespace and UTF8 definition from python 2 times
This commit is contained in:
parent
3373d93874
commit
195ea69537
|
@ -1,24 +1,17 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
# -*- coding: utf-8 -*-
|
"""ion.py: Decrypt Kindle KFX files.
|
||||||
|
|
||||||
# ion.py
|
Revision history:
|
||||||
# Copyright © 2013-2020 Apprentice Harper et al.
|
Pascal implementation by lulzkabulz.
|
||||||
|
BinaryIon.pas + DrmIon.pas + IonSymbols.pas
|
||||||
|
1.0 - Python translation by apprenticenaomi.
|
||||||
|
1.1 - DeDRM integration by anon.
|
||||||
|
1.2 - Added pylzma import fallback
|
||||||
|
1.3 - Fixed lzma support for calibre 4.6+
|
||||||
|
2.0 - VoucherEnvelope v2/v3 support by apprenticesakuya.
|
||||||
|
3.0 - Added Python 3 compatibility for calibre 5.0
|
||||||
|
|
||||||
__license__ = 'GPL v3'
|
Copyright © 2013-2020 Apprentice Harper et al.
|
||||||
__version__ = '3.0'
|
|
||||||
|
|
||||||
# Revision history:
|
|
||||||
# Pascal implementation by lulzkabulz.
|
|
||||||
# BinaryIon.pas + DrmIon.pas + IonSymbols.pas
|
|
||||||
# 1.0 - Python translation by apprenticenaomi.
|
|
||||||
# 1.1 - DeDRM integration by anon.
|
|
||||||
# 1.2 - Added pylzma import fallback
|
|
||||||
# 1.3 - Fixed lzma support for calibre 4.6+
|
|
||||||
# 2.0 - VoucherEnvelope v2/v3 support by apprenticesakuya.
|
|
||||||
# 3.0 - Added Python 3 compatibility for calibre 5.0
|
|
||||||
|
|
||||||
"""
|
|
||||||
Decrypt Kindle KFX files.
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import collections
|
import collections
|
||||||
|
@ -30,6 +23,9 @@ import struct
|
||||||
|
|
||||||
from io import BytesIO
|
from io import BytesIO
|
||||||
|
|
||||||
|
__license__ = 'GPL v3'
|
||||||
|
__version__ = '3.0'
|
||||||
|
|
||||||
#@@CALIBRE_COMPAT_CODE@@
|
#@@CALIBRE_COMPAT_CODE@@
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user