Sergienko Anton %!s(int64=7) %!d(string=hai) anos
pai
achega
11681e732b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/program_efremova.py

+ 1 - 1
src/program_efremova.py

@@ -208,7 +208,7 @@ def check_word_in_site(word, url, function_check_html):
             if answer_from_html is not None:
                 answer = answer_from_html
         else:
-            answer = response.status_code
+            answer = str(response.status_code)
     except ConnectionError:
         print("Ошибка: ConnectionError")
         time.sleep(1)