mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-23 04:21:29 +00:00
fix(backups): remove self from static method
This commit is contained in:
parent
d354f4ac0b
commit
951bb8d5ec
|
@ -253,6 +253,6 @@ class Backups:
|
||||||
# Our dummy service is not yet globally registered so this is not testable yet
|
# Our dummy service is not yet globally registered so this is not testable yet
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def snapshot_restored_size(snapshot: Snapshot) -> float:
|
def snapshot_restored_size(snapshot: Snapshot) -> float:
|
||||||
return self.service_snapshot_size(
|
return Backups.service_snapshot_size(
|
||||||
get_service_by_id(snapshot.service_name), snapshot.id
|
get_service_by_id(snapshot.service_name), snapshot.id
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue