Skip to content

Commit

Permalink
fix: email body format
Browse files Browse the repository at this point in the history
  • Loading branch information
Vel-San committed Feb 22, 2024
1 parent ec5904a commit bec1c91
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions wbmbot_v2/helpers/webDriverOperations.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,9 @@
from helpers import constants, notifications
from httpsWrapper import httpPageDownloader as hpd
from logger import wbm_logger
from selenium.common.exceptions import (
NoSuchElementException,
StaleElementReferenceException,
TimeoutException,
)
from selenium.common.exceptions import (NoSuchElementException,
StaleElementReferenceException,
TimeoutException)
from selenium.webdriver.common.by import By
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.support.ui import WebDriverWait
Expand Down Expand Up @@ -339,7 +337,7 @@ def apply_to_flat(
email,
user_profile.notifications_email,
f"[Applied] {flat_title}",
f"Appartment Link: {flat_link}\n\nYour Profile: {user_profile}",
f"Appartment Link: {flat_link}\n\nYour Profile:\n\n{user_profile}",
pdf_path,
)

Expand Down

0 comments on commit bec1c91

Please sign in to comment.