Use self as first argument

This commit is contained in:
amcmanu3 2024-05-26 15:39:52 -04:00
parent 79adf29c62
commit d24f56f4a5

View File

@ -1651,7 +1651,7 @@ class ServerInstance:
except:
Console.critical("Can't broadcast server status to websocket")
def check_backup_by_id(_self, backup_id: str) -> bool:
def check_backup_by_id(self, backup_id: str) -> bool:
# Check to see if we're already backing up
for thread in threading.enumerate():
if thread.getName() == f"backup_{backup_id}":