File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ the order should not matter anymore.
1919==================
2020- Fixed parsing bug on characters, returning an incorrect exception when a character doesn't exist.
2121
22-
2322.. v4.1.4
2423
2524 4.1.4 (2021-06-17)
Original file line number Diff line number Diff line change 1- __version__ = '4.1.5 '
1+ __version__ = '4.1.6 '
22__author__ = 'Allan Galarza'
33
44import logging
Original file line number Diff line number Diff line change @@ -466,8 +466,9 @@ def from_content(cls, content):
466466 parsed_content = parse_tibiacom_content (content )
467467 world_overview = WorldOverview ()
468468 try :
469- records_table , * tables = parsed_content .find_all ("table" , {"class" : "TableContent" })
470- m = record_regexp .search (records_table .text )
469+ record_table , * tables \
470+ = parsed_content .find_all ("table" , {"class" : "TableContent" })
471+ m = record_regexp .search (record_table .text )
471472 world_overview .record_count = parse_integer (m .group ("count" ))
472473 world_overview .record_date = parse_tibia_datetime (m .group ("date" ))
473474 world_overview ._parse_worlds_tables (tables )
You can’t perform that action at this time.
0 commit comments