[FIX] script execute first installation
This commit is contained in:
parent
5529b15917
commit
6c0005bca2
2 changed files with 2 additions and 2 deletions
|
|
@ -12,7 +12,7 @@ import time
|
||||||
|
|
||||||
try:
|
try:
|
||||||
import humanize
|
import humanize
|
||||||
except ImportError:
|
except ModuleNotFoundError as e:
|
||||||
humanize = None
|
humanize = None
|
||||||
|
|
||||||
cst_venv_erplibre = ".venv.erplibre"
|
cst_venv_erplibre = ".venv.erplibre"
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ new_path = os.path.normpath(
|
||||||
sys.path.append(new_path)
|
sys.path.append(new_path)
|
||||||
|
|
||||||
from script.config import config_file
|
from script.config import config_file
|
||||||
|
from script.execute import execute
|
||||||
|
|
||||||
file_error_path = ".erplibre.error.txt"
|
file_error_path = ".erplibre.error.txt"
|
||||||
cst_venv_erplibre = ".venv.erplibre"
|
cst_venv_erplibre = ".venv.erplibre"
|
||||||
|
|
@ -56,7 +57,6 @@ try:
|
||||||
# import rich
|
# import rich
|
||||||
import todo_upgrade
|
import todo_upgrade
|
||||||
from pykeepass import PyKeePass
|
from pykeepass import PyKeePass
|
||||||
|
|
||||||
except ModuleNotFoundError as e:
|
except ModuleNotFoundError as e:
|
||||||
humanize = None
|
humanize = None
|
||||||
ENABLE_CRASH = True
|
ENABLE_CRASH = True
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue