fix(attachement): directory not getting created
This commit is contained in:
parent
02df3f792e
commit
e55b82f529
@ -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."""
|
||||
|
Loading…
Reference in New Issue
Block a user