Sfoglia il codice sorgente

the return value is not needed

Sven Czarnian 3 anni fa
parent
commit
5df1ceb204
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      aman/com/WebUI.py

+ 1 - 1
aman/com/WebUI.py

@@ -59,6 +59,6 @@ class WebUI:
 
         # send to the server
         try:
-            response = session.patch(url, headers=headers, data=data, timeout=2)
+            session.patch(url, headers=headers, data=data, timeout=2)
         except requests.exceptions.ConnectTimeout:
             return