fix(backups): remove self from static method

pull/35/head
Houkime 2023-04-03 18:39:55 +00:00 committed by Inex Code
parent d354f4ac0b
commit 951bb8d5ec
1 changed files with 1 additions and 1 deletions

View File

@ -253,6 +253,6 @@ class Backups:
# Our dummy service is not yet globally registered so this is not testable yet
@staticmethod
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
)