Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
BerndKue committed Oct 10, 2024
1 parent 4b12ba9 commit 8feedd9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@ def on_get(self, req, resp):
duration = round(time.time() - start_time, 2)
resp.status = falcon.HTTP_200
resp.content_type = 'text/html'
resp.body = f"<p>Successfully pulled the inventory of target {target}. Duration: {duration}s.</p>"
resp.body = (
f"<p>Successfully pulled the inventory of target {target}."
f" Duration: {duration}s.</p>"
)

def check_server_inventory(self, server):
"""
Expand Down

0 comments on commit 8feedd9

Please sign in to comment.