summaryrefslogtreecommitdiff
path: root/service/pixelated/resources/attachments_resource.py
diff options
context:
space:
mode:
authorBruno Wagner <bwagner@riseup.net>2015-12-23 10:44:45 -0200
committerBruno Wagner <bwagner@riseup.net>2015-12-23 10:44:45 -0200
commit9e8d0172a2835043026277c955dfdb2ae0877bb8 (patch)
tree0235e39478328159a57905e0a8b3bc5774d3321b /service/pixelated/resources/attachments_resource.py
parentec3a7f46f16c32bbaf22a14a92a890e1ab900e94 (diff)
Fixed typo in error message
Diffstat (limited to 'service/pixelated/resources/attachments_resource.py')
-rw-r--r--service/pixelated/resources/attachments_resource.py2
1 files changed, 1 insertions, 1 deletions
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)