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