mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-22 12:11:26 +00:00
style: fix styling
This commit is contained in:
parent
cd2e9d3ba3
commit
b480c84041
|
@ -70,7 +70,6 @@ class Backups:
|
|||
# if there is no userdata file, we do not need to reset it
|
||||
pass
|
||||
|
||||
|
||||
@staticmethod
|
||||
def _lookup_provider() -> AbstractBackupProvider:
|
||||
redis_provider = Backups._load_provider_redis()
|
||||
|
@ -209,7 +208,6 @@ class Backups:
|
|||
|
||||
### Restoring
|
||||
|
||||
|
||||
@staticmethod
|
||||
def restore_snapshot(snapshot: Snapshot):
|
||||
service = get_service_by_id(snapshot.service_name)
|
||||
|
@ -328,7 +326,6 @@ class Backups:
|
|||
# expiring cache entry
|
||||
Storage.cache_snapshot(snapshot)
|
||||
|
||||
|
||||
### Autobackup
|
||||
|
||||
@staticmethod
|
||||
|
@ -446,6 +443,3 @@ class Backups:
|
|||
repo_id="",
|
||||
)
|
||||
Storage.store_provider(provider)
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue