print manual path
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
import os
|
import os
|
||||||
from utils.email import send_gmail_with_attachment
|
from utils.email import send_gmail_with_attachment
|
||||||
|
import logging
|
||||||
|
|
||||||
class WelcomeMessage:
|
class WelcomeMessage:
|
||||||
def __init__(self, name, email):
|
def __init__(self, name, email):
|
||||||
@@ -10,6 +11,8 @@ class WelcomeMessage:
|
|||||||
os.path.join(os.path.dirname(__file__), "..", "assets")
|
os.path.join(os.path.dirname(__file__), "..", "assets")
|
||||||
)
|
)
|
||||||
self.manual = os.path.join(self.assets_folder, "manual.pdf")
|
self.manual = os.path.join(self.assets_folder, "manual.pdf")
|
||||||
|
print(self.manual)
|
||||||
|
logging.info(self.manual)
|
||||||
self.body = f'''
|
self.body = f'''
|
||||||
|
|
||||||
Dear {self.name},
|
Dear {self.name},
|
||||||
|
|||||||
Reference in New Issue
Block a user