mirror of
https://github.com/netinvent/npbackup.git
synced 2025-11-17 14:19:48 +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":
|
if key == "backup_opts.paths":
|
||||||
for val in value:
|
for val in value:
|
||||||
if pathlib.Path(val).is_dir():
|
if pathlib.Path(val).is_dir():
|
||||||
if inherited[val]:
|
if object_type != "group" and inherited[val]:
|
||||||
icon = INHERITED_FOLDER_ICON
|
icon = INHERITED_FOLDER_ICON
|
||||||
else:
|
else:
|
||||||
icon = FOLDER_ICON
|
icon = FOLDER_ICON
|
||||||
else:
|
else:
|
||||||
if inherited[val]:
|
if object_type != "group" and inherited[val]:
|
||||||
icon = INHERITED_FILE_ICON
|
icon = INHERITED_FILE_ICON
|
||||||
else:
|
else:
|
||||||
icon = FILE_ICON
|
icon = FILE_ICON
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue