mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-29 02:04:15 +01:00
Update cli.py
changed MAIN_DIR to old relative path
This commit is contained in:
parent
68fc73cc25
commit
35049ae7fd
1 changed files with 2 additions and 2 deletions
|
@ -18,8 +18,8 @@ from subprocess import call
|
||||||
|
|
||||||
from jinja2 import Template
|
from jinja2 import Template
|
||||||
|
|
||||||
MAIN_DIR = os.sep.join(os.path.abspath(__file__).split(os.sep)[:-1])
|
# MAIN_DIR = os.sep.join(os.path.abspath(__file__).split(os.sep)[:-1])
|
||||||
|
MAIN_DIR = "."
|
||||||
|
|
||||||
def create_config_file():
|
def create_config_file():
|
||||||
if os.path.exists(os.path.join(MAIN_DIR, 'config', "config.yaml")) is False:
|
if os.path.exists(os.path.join(MAIN_DIR, 'config', "config.yaml")) is False:
|
||||||
|
|
Loading…
Reference in a new issue