1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-28 17:54:06 +02:00

Get rid of environ_item function

This commit is contained in:
2020-06-17 17:56:31 +02:00
parent 927e4fe978
commit b1ae3f74f4
3 changed files with 5 additions and 12 deletions
-6
View File
@@ -20,12 +20,6 @@ def error_message(exc):
return str(exc)
def environ_item(x):
if isinstance(x, bytes):
x = x.decode('utf-8')
return x
def exec_path(path, ctx=None):
ctx = ctx or {}
with open(path, 'rb') as f: