From 6d23916177cb81eee1b87208b9e494c4513dae92 Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Wed, 30 Mar 2022 14:08:20 -0300 Subject: [PATCH] [timeshift] refactoring: using tuple instead of list --- bauh/view/core/timeshift.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bauh/view/core/timeshift.py b/bauh/view/core/timeshift.py index e0e551b8..2ed1f99a 100644 --- a/bauh/view/core/timeshift.py +++ b/bauh/view/core/timeshift.py @@ -13,7 +13,7 @@ def is_available() -> bool: def delete_all_snapshots(root_password: Optional[str]) -> SimpleProcess: - return SimpleProcess(['timeshift', '--delete-all', '--scripted'], root_password=root_password) + return SimpleProcess(('timeshift', '--delete-all', '--scripted'), root_password=root_password) def delete(snapshot_name: str, root_password: Optional[str]) -> SimpleProcess: