1
0
mirror of https://github.com/gryf/ebook-converter.git synced 2026-04-19 20:53:35 +02:00

Removed another wrapper on stdlib

This commit is contained in:
2020-04-23 20:16:10 +02:00
parent ea99f5223c
commit 8f1eb9c88c
5 changed files with 9 additions and 15 deletions

View File

@@ -1,9 +1,4 @@
import importlib
import os
def hasenv(x):
return os.getenv(x) is not None
def as_bytes(x, encoding='utf-8'):