mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-11 14:42:37 +08:00
Fix repo name list when selecting all repos
This commit is contained in:
parent
ebb1b07390
commit
5b9bee53db
1 changed files with 4 additions and 2 deletions
|
|
@ -93,7 +93,9 @@ def operations_gui(full_config: dict) -> dict:
|
||||||
result = repo_list
|
result = repo_list
|
||||||
break
|
break
|
||||||
if event == "--APPLY_TO_ALL--":
|
if event == "--APPLY_TO_ALL--":
|
||||||
result = complete_repo_list
|
result = []
|
||||||
|
for value in complete_repo_list:
|
||||||
|
result.append(value[0])
|
||||||
break
|
break
|
||||||
select_group_window.close()
|
select_group_window.close()
|
||||||
return result
|
return result
|
||||||
|
|
@ -281,7 +283,7 @@ def operations_gui(full_config: dict) -> dict:
|
||||||
operation = "stats"
|
operation = "stats"
|
||||||
op_args = {}
|
op_args = {}
|
||||||
gui_msg = _t("operations_gui.stats")
|
gui_msg = _t("operations_gui.stats")
|
||||||
result = gui_thread_runner(
|
gui_thread_runner(
|
||||||
None,
|
None,
|
||||||
"group_runner",
|
"group_runner",
|
||||||
operation=operation,
|
operation=operation,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue