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

View File

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