mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-11 22:16:34 +08:00
GUI: Fix unneeded finally statement
This commit is contained in:
parent
1a0644d05c
commit
1286bb929e
1 changed files with 3 additions and 4 deletions
|
@ -234,10 +234,9 @@ def operations_gui(full_config: dict) -> dict:
|
||||||
except Exception as exc:
|
except Exception as exc:
|
||||||
logger.debug("Trace:", exc_info=True)
|
logger.debug("Trace:", exc_info=True)
|
||||||
object_name = None
|
object_name = None
|
||||||
finally:
|
if not object_name:
|
||||||
if not object_name:
|
sg.PopupError(_t("operations_gui.no_repo_selected"), keep_on_top=True)
|
||||||
sg.PopupError(_t("operations_gui.no_repo_selected"), keep_on_top=True)
|
continue
|
||||||
continue
|
|
||||||
manager_password = get_manager_password(
|
manager_password = get_manager_password(
|
||||||
full_config, object_name
|
full_config, object_name
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue