Remove useless import

This commit is contained in:
gryf committed 2021-05-24 20:08:49 +02:00
1 parent 6d08cf7da2
commit f46984267e
1 file changed
-3
-3
View File
@@ -1,6 +1,3 @@
import importlib
def as_bytes(x, encoding='utf-8'):
if isinstance(x, str):
return x.encode(encoding)