From 9ed2b4e30ac2d0479902bd8ff529adc12d35c610 Mon Sep 17 00:00:00 2001 From: Ahmad Alobaid Date: Wed, 24 Mar 2021 23:31:59 +0100 Subject: [PATCH] update --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 8875797..da5ff87 100644 --- a/app.py +++ b/app.py @@ -187,7 +187,7 @@ def editor(): print(headers) logger.debug("headers: ") logger.debug(str(headers)) - headers_str_test = str(headers) + headers_str_test = headers[-1]#str(headers) logger.debug("headers string: ") logger.debug(headers_str_test) detected_encoding = chardet.detect(headers_str_test)['encoding']