GUI: Fix error when repo not initialized

This commit is contained in:
deajan 2024-04-23 22:15:20 +02:00
parent d3a8a5a48b
commit ca18a34ea2

View file

@ -831,7 +831,7 @@ def _main_gui(viewer_mode: bool):
if repo_config:
try:
current_state, backup_tz, snapshot_list = get_gui_data(repo_config)
except ValueError:
except (TypeError, ValueError):
current_state = None
backup_tz = None
snapshot_list = []