Skip to content

Commit

Permalink
Add missing await clauses
Browse files Browse the repository at this point in the history
  • Loading branch information
olijeffers0n committed Dec 3, 2021
1 parent 2e96362 commit fa75389
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rustplus/api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,15 +347,15 @@ async def getTime(self) -> RustTime:
Gets the current in-game time
"""

self.__handle_ratelimit()
await self.__handle_ratelimit()
return await self.__getTime()

async def getInfo(self) -> RustInfo:
"""
Gets information on the Rust Server
"""

self.__handle_ratelimit()
await self.__handle_ratelimit()
return await self.__getInfo()

async def getRawMapData(self) -> RustMap:
Expand Down

0 comments on commit fa75389

Please sign in to comment.