mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Add critical log message for None Backup path
This commit is contained in:
parent
73b3571606
commit
e555274409
@ -763,6 +763,7 @@ class Server:
|
||||
|
||||
def backup_server(self):
|
||||
if self.settings["backup_path"] == "":
|
||||
logger.critical("Backup path is None. Canceling Backup!")
|
||||
return
|
||||
backup_thread = threading.Thread(
|
||||
target=self.a_backup_server, daemon=True, name=f"backup_{self.name}"
|
||||
|
Loading…
Reference in New Issue
Block a user