1
0
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:
2020-06-14 15:52:24 +02:00
parent 9891d02694
commit e35bd46422
2 changed files with 12 additions and 16 deletions
-4
View File
@@ -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