Skip to content

Commit

Permalink
logging
Browse files Browse the repository at this point in the history
  • Loading branch information
KJStick committed Jun 15, 2023
1 parent 896b5e0 commit db0168c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion features/awx.py
Original file line number Diff line number Diff line change
Expand Up @@ -1168,7 +1168,9 @@ async def list_my_ips(activity):

# check if ip_address field not there
if not bool(ip_addresses):
logging.info("User %s does not have any ips", activity['sender_email'].split('@')[0])
logging.info(
"User %s does not have any ips", activity["sender_email"].split("@")[0]
)

message = dict(
text="You do not currently have any allocated IPs",
Expand Down

0 comments on commit db0168c

Please sign in to comment.