File tree Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Expand file tree Collapse file tree 2 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -2482,10 +2482,14 @@ def sort_scripts_by_index(dict): # Use this to sort scripts by index before appe
24822482
24832483 if len (list_of_script_cards ) <= 0 :
24842484 list_of_script_cards .append (no_scripts )
2485- scripts_column .cotrols = list_of_script_cards
2486- page .update ()
2485+ scripts_column .controls = list_of_script_cards
2486+ try :
2487+ scripts_column .update ()
2488+ except AssertionError as e :
2489+ # Control isn't added to page yet so ignore
2490+ pass
24872491
2488- # Populate controls on initial app load
2492+ # Populate script controls on initial app load
24892493 generate_scripts ()
24902494
24912495 def check_space (e ):
Original file line number Diff line number Diff line change 1515
1616programs_tutorial_txt = 'You can use this panel to check for a specific program on a computer, or get a list of all detected software.'
1717
18- setup_pstools = "PowerShell 7 and PsTools are required for this program to work. \
19- By default, this app looks for PsExec.exe and PsService.exe in your system32 folder and PowerShell 7 in \
20- C:\Program Files\PowerShell\\ 7. If it does not find them, you will see this setup screen and be asked to \
21- find them manually."
18+ setup_pstools = """PowerShell 7 and PsTools are required for this program to work.
19+ By default, this app looks for PsExec.exe and PsService.exe in your system32 folder and PowerShell 7 in
20+ C:\Program Files\PowerShell\\ 7.
21+ If it does not find them, you will see this setup screen and be asked to
22+ find them manually."""
You can’t perform that action at this time.
0 commit comments