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
1 changed files with 1 additions and 1 deletions

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'