Queer European MD passionate about IT
Sfoglia il codice sorgente

Exclude table header

Davte 5 anni fa
parent
commit
04733552c5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      davtelepot/api_helper.py

+ 1 - 1
davtelepot/api_helper.py

@@ -40,7 +40,7 @@ class TelegramApiMethod(object):
         result = ''
         if self.table is None:
             return "No parameters"
-        rows = self.table.find_all('tr')
+        rows = self.table.tbody.find_all('tr')
         if rows is None:
             rows = []
         for row in rows: