Skip to content

Commit eb4e626

Browse files
committed
🐛 fix import and specify that GUI execution checks tinytex and chromium
1 parent d2d2b40 commit eb4e626

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

gui/app.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636

3737
# from vuegen.__main__ import main
3838
from vuegen.report import ReportType
39-
from vuegen.utils import get_logger, print_completion_message
39+
from vuegen.utils import get_completion_message, get_logger
4040

4141
customtkinter.set_appearance_mode("system")
4242
customtkinter.set_default_color_theme("dark-blue")
@@ -159,6 +159,7 @@ def inner():
159159
kwargs["logger"].info("logfile: %s", log_file)
160160
kwargs["logger"].debug("sys.path: %s", sys.path)
161161
kwargs["logger"].debug("PATH (in app): %s ", os.environ["PATH"])
162+
kwargs["quarto_checks"] = True # for gui check local quarto installation
162163
report_dir, gen_config_path = report_generator.get_report(**kwargs)
163164
kwargs["logger"].info("Report generated at %s", report_dir)
164165
messagebox.showinfo(
@@ -169,7 +170,7 @@ def inner():
169170
f"\n\nConfiguration file at:\n{gen_config_path}",
170171
)
171172
global hash_config_app # ! fix this
172-
print_completion_message(report_type.get())
173+
get_completion_message(report_type.get())
173174
if hash(yaml.dump(config_app)) != hash_config_app:
174175
with open(config_file, "w", encoding="utf-8") as f:
175176
yaml.dump(config_app, f)

0 commit comments

Comments
 (0)