Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
feijooso committed Feb 8, 2024
1 parent 527ecca commit 1154753
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions app/service/rabbitmq/consumer.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,11 @@ def check_package(self, measurement_from_rabbit):

def send_notification(self, id_user, measurement, error, details):
logger.info(LoggerMessages.USER_NOTIFIED.format(id_user))
logger.info("New notification: {}: {} sent on {}".format(error, details, measurement.time_stamp))

logger.info(
"New notification: {}: {} sent on {}".format(
error, details, measurement.time_stamp
)
)

def apply_rules(self, measurement):
# TODO: FIND PLANT TYPE NAME GIVEN PLANT TYPE
Expand Down

0 comments on commit 1154753

Please sign in to comment.