[IMP] script selenium accept private execution

- erplibre private repertory for user private configuration
- move todo_override to private/todo.json
- selenium moving script
This commit is contained in:
Mathieu Benoit 2025-06-15 23:59:14 -04:00
parent 05e93b19d9
commit 5ab5642de5
6 changed files with 4 additions and 4 deletions

1
.gitignore vendored
View file

@ -43,4 +43,3 @@ requirements.txt
requirement/ignore_requirements.txt
screenshots
screencasts
script/todo/todo_override.json

1
private/TODO.md Normal file
View file

@ -0,0 +1 @@
Move your private file and project configuration here. The docker will share a volume with this repertory.

0
private/__init__.py Normal file
View file

View file

@ -34,7 +34,7 @@ from selenium.webdriver.support.ui import WebDriverWait
# TODO maybe use TODO lib
CONFIG_FILE = "./script/todo/todo.json"
CONFIG_OVERRIDE_FILE = "./script/todo/todo_override.json"
CONFIG_OVERRIDE_FILE = "./private/todo.json"
LOGO_ASCII_FILE = "./script/todo/logo_ascii.txt"

View file

@ -1,4 +1,4 @@
TODO is an assistant robot to use ERPLibre
Execute it with `./script/todo/todo.py` or `make todo`.
For a new project, copy todo_example.json to todo_override.json and edit it.
For a new project, copy todo_example.json to private/todo.json and edit it.

View file

@ -87,7 +87,7 @@ except ModuleNotFoundError as e:
_logger = logging.getLogger(__name__)
CONFIG_FILE = "./script/todo/todo.json"
CONFIG_OVERRIDE_FILE = "./script/todo/todo_override.json"
CONFIG_OVERRIDE_FILE = "./private/todo.json"
LOGO_ASCII_FILE = "./script/todo/logo_ascii.txt"