From 9e8d0172a2835043026277c955dfdb2ae0877bb8 Mon Sep 17 00:00:00 2001
From: Bruno Wagner <bwagner@riseup.net>
Date: Wed, 23 Dec 2015 10:44:45 -0200
Subject: Fixed typo in error message

---
 service/pixelated/resources/attachments_resource.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'service/pixelated')

diff --git a/service/pixelated/resources/attachments_resource.py b/service/pixelated/resources/attachments_resource.py
index 19b5d0bc..ffd05c29 100644
--- a/service/pixelated/resources/attachments_resource.py
+++ b/service/pixelated/resources/attachments_resource.py
@@ -102,7 +102,7 @@ class AttachmentsResource(Resource):
 
         def error_handler(error):
             print error
-            respond_json_deferred({"message": "Something went wrong. Attachement not saved."}, request, status_code=500)
+            respond_json_deferred({"message": "Something went wrong. Attachment not saved."}, request, status_code=500)
 
         deferred.addCallback(send_location)
         deferred.addErrback(error_handler)
-- 
cgit v1.2.3