Skip to content

Commit

Permalink
fix issue #14
Browse files Browse the repository at this point in the history
  • Loading branch information
null8626 committed Jul 26, 2021
1 parent e7908a2 commit 85a8545
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python_weather/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def __init__(self, session=None, format: str = 'C', locale: str = 'en-US', max_c
if format.upper() not in ('C', 'F'):
raise TypeError('Invalid format.')

self.http = HTTPClient(session, max_cache_size, format, locale)
self.http = HTTPClient(max_cache_size, format, locale, session)

@property
def format(self) -> str:
Expand Down

0 comments on commit 85a8545

Please sign in to comment.