diff options
-rw-r--r-- | service/pixelated/controllers/mails_controller.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/service/pixelated/controllers/mails_controller.py b/service/pixelated/controllers/mails_controller.py index 29e25d76..dfd1c73b 100644 --- a/service/pixelated/controllers/mails_controller.py +++ b/service/pixelated/controllers/mails_controller.py @@ -15,8 +15,6 @@ # along with Pixelated. If not, see <http://www.gnu.org/licenses/>. import json -import random -import time from pixelated.adapter.model.mail import InputMail from pixelated.controllers import respond_json @@ -107,8 +105,6 @@ class MailsController: return respond_json(mail.as_dict(), request) def update_draft(self, request): - if bool(random.getrandbits(1)): - time.sleep(3) content_dict = json.loads(request.content.read()) _mail = InputMail.from_dict(content_dict) draft_id = content_dict.get('ident') |