fix(attachement): directory not getting created
This commit is contained in:
parent
02df3f792e
commit
e55b82f529
@ -23,8 +23,8 @@ class Attachment(Data):
|
|||||||
self.path = path
|
self.path = path
|
||||||
self.writer = writer
|
self.writer = writer
|
||||||
self.attachment_path = os.path.join(self.path, "attachments")
|
self.attachment_path = os.path.join(self.path, "attachments")
|
||||||
if interactive:
|
|
||||||
self.start()
|
self.start()
|
||||||
|
if interactive:
|
||||||
input(
|
input(
|
||||||
f"Please add attachment files to '{os.path.abspath(os.path.join(self.path,'attachments'))}' and then press ENTER to continue"
|
f"Please add attachment files to '{os.path.abspath(os.path.join(self.path,'attachments'))}' and then press ENTER to continue"
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user