1
0
Fork 0
mirror of https://github.com/borgbase/vorta synced 2024-12-22 07:43:09 +00:00

Create missing parents of autostart folder. See #930 (#1146)

This commit is contained in:
Manu 2021-12-24 14:04:15 +04:00 committed by GitHub
parent 896d84415e
commit 60075318a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ def open_app_at_startup(enabled=True):
autostart_path = Path(user_config_dir("autostart"))
if not autostart_path.exists():
autostart_path.mkdir()
autostart_path.mkdir(parents=True, exist_ok=True)
autostart_file_path = autostart_path / 'vorta.desktop'