Pendrokar commited on
Commit
270258a
β€’
1 Parent(s): bd8f4e0

serialization utf fix

Browse files
Files changed (1) hide show
  1. resources/app/server.py +1 -1
resources/app/server.py CHANGED
@@ -488,7 +488,7 @@ if __name__ == '__main__':
488
  move_recorded_file(PROD, logger, models_manager, f'{"./resources/app" if PROD else "."}', file_path)
489
 
490
  self._set_response()
491
- self.wfile.write(json.dumps(req_response))
492
  except Exception as e:
493
  with open("./DEBUG_request.txt", "w+") as f:
494
  f.write(traceback.format_exc())
 
488
  move_recorded_file(PROD, logger, models_manager, f'{"./resources/app" if PROD else "."}', file_path)
489
 
490
  self._set_response()
491
+ self.wfile.write(json.dumps(req_response).encode('utf-8'))
492
  except Exception as e:
493
  with open("./DEBUG_request.txt", "w+") as f:
494
  f.write(traceback.format_exc())