From f829a34dc7a5b3160a1ccafe1c508c643ae58411 Mon Sep 17 00:00:00 2001 From: Houkime <> Date: Mon, 19 Jun 2023 11:17:09 +0000 Subject: [PATCH] refactor(backups): delete legacy provider setting --- selfprivacy_api/backup/__init__.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/selfprivacy_api/backup/__init__.py b/selfprivacy_api/backup/__init__.py index 29fac73..bb17254 100644 --- a/selfprivacy_api/backup/__init__.py +++ b/selfprivacy_api/backup/__init__.py @@ -41,9 +41,6 @@ class Backups: provider = ProviderClass(login="", key="", location=file_path, repo_id="") Storage.store_provider(provider) - def set_provider(provider: AbstractBackupProvider): - Storage.store_provider(provider) - @staticmethod def get_last_backed_up(service: Service) -> Optional[datetime]: """Get a timezone-aware time of the last backup of a service"""