Skip to content

Problem with the comma when there are more than 1000 players online. #22

@Pixelao

Description

@Pixelao

Hello! Cipsoft added a comma in the world list when there are more than 1000 players online.

File "\site-packages\tibiapy\world.py", line 267, in from_content
world._parse_world_info(tables.get("World Information", []))
File "\site-packages\tibiapy\world.py", line 344, in _parse_world_info
self.online_count = int(world_info.pop("players_online"))
ValueError: invalid literal for int() with base 10: '1,024'

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions