mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Use self as first argument
This commit is contained in:
parent
79adf29c62
commit
d24f56f4a5
@ -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}":
|
||||
|
Loading…
Reference in New Issue
Block a user