fi-ksi / web-backend

Backend for KSI web written in Python.
MIT License
8 stars 3 forks source link

Registrace selže chybou #156

Closed esoadamo closed 2 years ago

esoadamo commented 2 years ago

Nejspíše spojené s updatem na Debian 11?

[2022-05-04 08:54:45]     responder(req, resp, **params)
[2022-05-04 08:54:45]   File "/root/web-backend/endpoint/registration.py", line 109, in on_post
[2022-05-04 08:54:45]     util.mail.send(
[2022-05-04 08:54:45]   File "/root/web-backend/util/mail.py", line 147, in send
[2022-05-04 08:54:45]     _send(to, subject, text, params, bcc, cc, plaintext)
[2022-05-04 08:54:45]   File "/root/web-backend/util/mail.py", line 117, in _send
[2022-05-04 08:54:45]     if emailThread and emailThread.isAlive():
[2022-05-04 08:54:45] AttributeError: 'sendThread' object has no attribute 'isAlive'
esoadamo commented 2 years ago

https://github.com/fi-ksi/web-backend/commit/07a54df1bbf20f459a46b50e15fc393af89da64a