mirror of
https://github.com/gryf/ebook-converter.git
synced 2026-04-27 17:13:32 +02:00
Get rid of environ_item function
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user