Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

Commit

Permalink
fixed API limit reset
Browse files Browse the repository at this point in the history
  • Loading branch information
dannerph committed Nov 13, 2020
1 parent 3b42341 commit a336171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/solcast/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ async def request_data(self, path, ssl=True):
def get_remaining_API_count(self):
return self._api_remaining

def reset_api_limit(self):
def reset_api_limit(self, *args):
self._api_remaining = self._api_limit

async def post_data(self, path, data, ssl=True):
Expand Down

0 comments on commit a336171

Please sign in to comment.