diff --git a/brawlstars.egg-info/PKG-INFO b/brawlstars.egg-info/PKG-INFO index 2d551a1..97bb9af 100644 --- a/brawlstars.egg-info/PKG-INFO +++ b/brawlstars.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 1.0 Name: brawlstars -Version: 0.3.0 +Version: 0.3.1 Summary: A wrapper, both asynchronous and not, for the Brawl Stars API made by Zihad! Home-page: https://github.com/umbresp/brawlstars Author: Umbresp diff --git a/brawlstars/__init__.py b/brawlstars/__init__.py index 98d48ec..558f911 100644 --- a/brawlstars/__init__.py +++ b/brawlstars/__init__.py @@ -6,5 +6,5 @@ __author__ = 'Umbresp' __title__ = 'brawlstars' __license__ = 'MIT' -__version__ = '0.3.0' +__version__ = '0.3.1' __github__ = 'https://www.github.com/umbresp/brawlstars' diff --git a/brawlstars/client.py b/brawlstars/client.py index 7edfe5c..8e64811 100644 --- a/brawlstars/client.py +++ b/brawlstars/client.py @@ -59,7 +59,7 @@ def get_player(self, tag): tag = tag.upper() try: - resp = self.sesssion.get(self._base_url + 'players/' + tag, headers=self.headers, timeout=self.timeout) + resp = self.session.get(self._base_url + 'players/' + tag, headers=self.headers, timeout=self.timeout) if resp.status_code == 200: data = resp.json() elif 500 > resp.status_code > 400: diff --git a/setup.py b/setup.py index 8560e63..c667e27 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='brawlstars', - version='0.3.0', + version='0.3.1', description='A wrapper, both asynchronous and not, for the Brawl Stars API made by Zihad!', long_description="I am bad at writing descriptions. TODO", url='https://github.com/umbresp/brawlstars',