[FIX] script todo import first time

This commit is contained in:
Mathieu Benoit 2026-02-14 05:53:31 -05:00
parent e2d60bf1aa
commit c1465098f0
2 changed files with 6 additions and 2 deletions

View file

@ -10,7 +10,10 @@ import subprocess
import sys
import time
import humanize
try:
import humanize
except ImportError:
humanize = None
cst_venv_erplibre = ".venv.erplibre"

View file

@ -39,6 +39,8 @@ STRINGS_FILE = os.path.join(
)
GRADLE_FILE = os.path.join(MOBILE_HOME_PATH, ANDROID_DIR, "app/build.gradle")
from script.execute import execute
try:
import tkinter as tk
from tkinter import filedialog
@ -55,7 +57,6 @@ try:
import todo_upgrade
from pykeepass import PyKeePass
from script.execute import execute
except ModuleNotFoundError as e:
humanize = None
ENABLE_CRASH = True