some conversion fixes

This commit is contained in:
Usman Nasir
2019-12-15 11:34:09 +05:00
parent 6c178376d1
commit 6feb799638
8 changed files with 28 additions and 35 deletions

View File

@@ -59,7 +59,7 @@ class secMiddleware:
# final_json = json.dumps(final_dic)
# return HttpResponse(final_json)
if type(value) == str or type(value) == unicode:
if type(value) == str or type(value) == bytes:
pass
else:
continue