Fix pylint issue

This commit is contained in:
amcmanu3 2024-08-11 13:27:32 -04:00
parent 2fc20ae5b1
commit aaba6c6989

View File

@ -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}"