mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-04-25 07:51:28 +02:00
Removed get_types_map
This commit is contained in:
@@ -43,10 +43,6 @@ def guess_extension(*args, **kwargs):
|
||||
return ext
|
||||
|
||||
|
||||
def get_types_map():
|
||||
return mimetypes.types_map
|
||||
|
||||
|
||||
def to_unicode(raw, encoding='utf-8', errors='strict'):
|
||||
if isinstance(raw, str):
|
||||
return raw
|
||||
|
||||
Reference in New Issue
Block a user