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:
@ -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
|
||||
|
Reference in New Issue
Block a user