fix(attachement): directory not getting created

This commit is contained in:
William Luke 2022-04-26 17:08:53 +03:00
parent 02df3f792e
commit e55b82f529
1 changed files with 2 additions and 2 deletions

View File

@ -23,12 +23,12 @@ class Attachment(Data):
self.path = path
self.writer = writer
self.attachment_path = os.path.join(self.path, "attachments")
self.start()
if interactive:
self.start()
input(
f"Please add attachment files to '{os.path.abspath(os.path.join(self.path,'attachments'))}' and then press ENTER to continue"
)
self.load()
self.load()
def load(self):
"""Loads attachment data from settings."""