1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-02-11 11:15:54 +01:00

Remove useless import

This commit is contained in:
2021-05-24 20:08:49 +02:00
parent 6d08cf7da2
commit f46984267e

View File

@@ -1,6 +1,3 @@
import importlib
def as_bytes(x, encoding='utf-8'):
if isinstance(x, str):
return x.encode(encoding)