[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:
|
||||
import humanize
|
||||
except ImportError:
|
||||
except ModuleNotFoundError as e:
|
||||
humanize = None
|
||||
|
||||
cst_venv_erplibre = ".venv.erplibre"
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ new_path = os.path.normpath(
|
|||
sys.path.append(new_path)
|
||||
|
||||
from script.config import config_file
|
||||
from script.execute import execute
|
||||
|
||||
file_error_path = ".erplibre.error.txt"
|
||||
cst_venv_erplibre = ".venv.erplibre"
|
||||
|
|
@ -56,7 +57,6 @@ try:
|
|||
# import rich
|
||||
import todo_upgrade
|
||||
from pykeepass import PyKeePass
|
||||
|
||||
except ModuleNotFoundError as e:
|
||||
humanize = None
|
||||
ENABLE_CRASH = True
|
||||
|
|
|
|||
Loading…
Reference in a new issue