Skip to content

Commit

Permalink
Merge pull request #244 from mathsman5133/release/3.7.1
Browse files Browse the repository at this point in the history
Release/3.7.1
  • Loading branch information
lukasthaler authored Aug 13, 2024
2 parents 2be04a9 + c0d331b commit 6e77203
Show file tree
Hide file tree
Showing 12 changed files with 8,431 additions and 3,001 deletions.
2 changes: 1 addition & 1 deletion coc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
SOFTWARE.
"""

__version__ = "3.7.0"
__version__ = "3.7.1"

from .abc import BasePlayer, BaseClan
from .clans import RankedClan, Clan
Expand Down
2 changes: 1 addition & 1 deletion coc/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ async def request(self, route, **kwargs):
self.stats[route.stats_key] = perf

LOG.debug("API HTTP Request: %s", str(log_info))
data = await json_or_text(response)
data = (await json_or_text(response)) or {}
data["status_code"] = response.status
data["timestamp"] = datetime.utcnow().timestamp()
try:
Expand Down
Loading

0 comments on commit 6e77203

Please sign in to comment.