Skip to content

Commit 0009bb8

Browse files
committed
🐛 acutally get variable value, not test instance exist
- before the existence was just tested, leading to always True (?)
1 parent 2dd4e74 commit 0009bb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gui/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,14 @@
5757
def create_run_vuegen(is_dir, config_path, report_type, run_streamlit):
5858
def inner():
5959
args = ["vuegen"]
60-
if is_dir:
60+
if is_dir.get():
6161
args.append("--directory")
6262
else:
6363
args.append("--config")
6464
args.append(config_path.get())
6565
args.append("--report_type")
6666
args.append(report_type.get())
67-
if run_streamlit:
67+
if run_streamlit.get():
6868
args.append("--streamlit_autorun")
6969
print("args:", args)
7070
sys.argv = args

0 commit comments

Comments
 (0)