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