deleted: 'get_dotenv()'
This commit is contained in:
parent
1304810eba
commit
394dfb2c76
|
|
@ -4,12 +4,6 @@
|
|||
import pathlib
|
||||
import subprocess
|
||||
|
||||
from dotenv import Dotenv
|
||||
|
||||
|
||||
def get_dotenv(filename='.env'):
|
||||
return Dotenv(str(pathlib.Path(__file__).parent / filename))
|
||||
|
||||
|
||||
def sh(*args):
|
||||
proc = subprocess.Popen(args, stdout=subprocess.PIPE)
|
||||
|
|
@ -18,6 +12,6 @@ def sh(*args):
|
|||
|
||||
|
||||
def get_log_path(name):
|
||||
path = pathlib.Path(__file__).parent / 'logs' / name
|
||||
path = pathlib.Path(__file__).parent / "logs" / name
|
||||
path.parent.mkdir(parents=True, exist_ok=True)
|
||||
return path
|
||||
|
|
|
|||
Loading…
Reference in New Issue