mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-02-10 10:45:46 +01: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