mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-12 15:11:40 +08:00
Avoid checking for inheritance in group settings
This commit is contained in:
parent
1ac5d4065d
commit
6cb3b67d93
1 changed files with 2 additions and 2 deletions
|
|
@ -231,12 +231,12 @@ def config_gui(full_config: dict, config_file: str):
|
|||
if key == "backup_opts.paths":
|
||||
for val in value:
|
||||
if pathlib.Path(val).is_dir():
|
||||
if inherited[val]:
|
||||
if object_type != "group" and inherited[val]:
|
||||
icon = INHERITED_FOLDER_ICON
|
||||
else:
|
||||
icon = FOLDER_ICON
|
||||
else:
|
||||
if inherited[val]:
|
||||
if object_type != "group" and inherited[val]:
|
||||
icon = INHERITED_FILE_ICON
|
||||
else:
|
||||
icon = FILE_ICON
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue