mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-04-14 17:43:31 +02:00
Remove useless import
This commit is contained in:
@@ -1,6 +1,3 @@
|
|||||||
import importlib
|
|
||||||
|
|
||||||
|
|
||||||
def as_bytes(x, encoding='utf-8'):
|
def as_bytes(x, encoding='utf-8'):
|
||||||
if isinstance(x, str):
|
if isinstance(x, str):
|
||||||
return x.encode(encoding)
|
return x.encode(encoding)
|
||||||
|
|||||||
Reference in New Issue
Block a user