diff --git a/TrackerGG/__init__.py b/TrackerGG/__init__.py index 91a3ad4..caa0473 100644 --- a/TrackerGG/__init__.py +++ b/TrackerGG/__init__.py @@ -33,23 +33,23 @@ __all__ = ["Models", "CSGOClient", "ApexClient", "utils"] -count = 0 +__count = 0 try: import aiohttp - count += 1 + __count += 1 except ImportError: pass try: import httpx - count += 1 + __count += 1 except ImportError: pass -if count == 0: +if __count == 0: raise ImportError( "\nAt least one of aiohttp or httpx libraries is required\nTry `pip install aiohttp` or `pip install httpx`" )