1
0
mirror of https://github.com/Tygs/0bin.git synced 2023-08-10 21:13:00 +03:00

Misspelling check.

Fixed the spelling using the following command:

  misspellings -s fix.sh $(find * -type f)
  sh fix.sh

Nothing very important, just was using it for a quick test.
This commit is contained in:
Kevin Lyda
2013-03-03 16:27:39 +00:00
parent 9a0efa7fa7
commit d599aed09a
17 changed files with 26 additions and 26 deletions

View File

@ -1457,7 +1457,7 @@ class JSONPlugin(object):
if isinstance(rv, dict):
#Attempt to serialize, raises exception on failure
json_response = dumps(rv)
#Set content type only if serialization succesful
#Set content type only if serialization successful
response.content_type = 'application/json'
return json_response
return rv