Skip to content

Commit

Permalink
Change syntax to match style of rest of code
Browse files Browse the repository at this point in the history
  • Loading branch information
amitsetty committed Aug 27, 2022
1 parent ef3bb11 commit 081a1fd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ def started(self, event: monitoring.CommandStartedEvent):
):
return
command = event.command.get(event.command_name, "")
name = f"{event.database_name}.{event.command_name}" if event.database_name else event.command_name
name = event.database_name
name += "." + event.command_name
statement = event.command_name
if command:
statement += " " + str(command)
Expand Down

0 comments on commit 081a1fd

Please sign in to comment.