Sergienko Anton 7 жил өмнө
parent
commit
11681e732b

+ 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)