mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Fix pylint issue
This commit is contained in:
parent
2fc20ae5b1
commit
aaba6c6989
@ -68,7 +68,9 @@ class BackupManager:
|
||||
try:
|
||||
backup_filename = (
|
||||
f"{backup_location}/"
|
||||
f"{datetime.datetime.now().astimezone(self.tz).strftime('%Y-%m-%d_%H-%M-%S')}" # pylint: disable=line-too-long
|
||||
f"""{datetime.datetime.now()
|
||||
.astimezone(self.tz)
|
||||
.strftime('%Y-%m-%d_%H-%M-%S')}"""
|
||||
)
|
||||
logger.info(
|
||||
f"Creating backup of server {server.name}"
|
||||
|
Loading…
Reference in New Issue
Block a user