From 3e935726482f2c3e8446d128bc6e848c008a7fe2 Mon Sep 17 00:00:00 2001 From: Houkime <> Date: Mon, 3 Apr 2023 18:39:55 +0000 Subject: [PATCH] fix(backups): remove self from static method --- selfprivacy_api/backup/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfprivacy_api/backup/__init__.py b/selfprivacy_api/backup/__init__.py index 79844a3..2c1e250 100644 --- a/selfprivacy_api/backup/__init__.py +++ b/selfprivacy_api/backup/__init__.py @@ -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 )