From 0c21b0c4e695702ea6a92d5695fc218bd96c1af4 Mon Sep 17 00:00:00 2001 From: Ahmad Alobaid Date: Wed, 24 Mar 2021 23:34:52 +0100 Subject: [PATCH] update --- app.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app.py b/app.py index da5ff87..5134c72 100644 --- a/app.py +++ b/app.py @@ -1,3 +1,7 @@ +import sys +reload(sys) +sys.setdefaultencoding('utf8') + import os import json from flask import Flask, render_template, jsonify, request, send_from_directory