Поправил конифг pyproject.toml - изменил установку пакета config_manager
This commit is contained in:
@@ -15,7 +15,7 @@ if __name__ == "__main__":
|
||||
imap_port=os.getenv('IMAP_PORT'),
|
||||
smtp_port=os.getenv('SMTP_PORT')
|
||||
)
|
||||
emails = email_client.get_emails(folder=self.config.email_dir, only_unseen=True, mark_as_read=True)
|
||||
emails = email_client.get_emails(folder='spareparts', only_unseen=True, mark_as_read=True)
|
||||
|
||||
for email in emails:
|
||||
print(email.subj)
|
||||
|
||||
Reference in New Issue
Block a user