diff --git a/src/modules/Email.py b/src/modules/Email.py index 05ab5c5..b459bcd 100644 --- a/src/modules/Email.py +++ b/src/modules/Email.py @@ -11,8 +11,8 @@ class EmailSender: def __init__(self, DashboardConfig): self.smtp = None self.DashboardConfig = DashboardConfig - if not os.path.exists('../attachments'): - os.mkdir('../attachments') + if not os.path.exists('./attachments'): + os.mkdir('./attachments') def Server(self): return self.DashboardConfig.GetConfig("Email", "server")[1]