We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd69207 commit 0dfc637Copy full SHA for 0dfc637
coc/wars.py
@@ -103,7 +103,7 @@ def _from_data(self, data: dict) -> None:
103
self.start_time = try_enum(Timestamp, data=data_get("startTime"))
104
self.end_time = try_enum(Timestamp, data=data_get("endTime"))
105
self.war_tag: str = data_get("tag")
106
- if data_get("attacksPerMember") is None and self.is_cwl:
+ if data_get("attacksPerMember") is None or self.is_cwl:
107
self.attacks_per_member: int = 1
108
else:
109
self.attacks_per_member: int = data_get("attacksPerMember")
0 commit comments