Suppression des séparations de ligne

This commit is contained in:
Adrien Bourmault 2023-03-20 15:11:15 +01:00
parent 4b127ac1c6
commit 79550e11ea
No known key found for this signature in database
GPG Key ID: 6EB408FE0ACEC664
1 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ class DataStore:
msg += " " + host.last_update.strftime("%m/%d/%Y, %H:%M:%S")[:21] +\ msg += " " + host.last_update.strftime("%m/%d/%Y, %H:%M:%S")[:21] +\
" "*(22 - len(host.last_update.strftime("%m/%d/%Y, %H:%M:%S"))) +\ " "*(22 - len(host.last_update.strftime("%m/%d/%Y, %H:%M:%S"))) +\
"|\n" "|\n"
msg += "-"*80 + "\n" msg += "-"*80 + "\n"
if PRIORITY[host.status] == 0: if PRIORITY[host.status] == 0:
self.hosts.discard(host) self.hosts.discard(host)
@ -92,7 +92,7 @@ class DataStore:
msg += " " + host.last_update.strftime("%m/%d/%Y, %H:%M:%S")[:21] +\ msg += " " + host.last_update.strftime("%m/%d/%Y, %H:%M:%S")[:21] +\
" "*(22 - len(host.last_update.strftime("%m/%d/%Y, %H:%M:%S"))) +\ " "*(22 - len(host.last_update.strftime("%m/%d/%Y, %H:%M:%S"))) +\
"|\n" "|\n"
msg += "-"*80 + "\n" msg += "-"*80 + "\n"
if PRIORITY[host.status] == 0: if PRIORITY[host.status] == 0:
self.hosts.discard(host) self.hosts.discard(host)