Skip to content

Commit b72b70d

Browse files
committed
refactor: Hide count variable with __
1 parent 9d2231b commit b72b70d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

TrackerGG/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,23 +33,23 @@
3333

3434
__all__ = ["Models", "CSGOClient", "ApexClient", "utils"]
3535

36-
count = 0
36+
__count = 0
3737

3838
try:
3939
import aiohttp
4040

41-
count += 1
41+
__count += 1
4242
except ImportError:
4343
pass
4444

4545
try:
4646
import httpx
4747

48-
count += 1
48+
__count += 1
4949
except ImportError:
5050
pass
5151

52-
if count == 0:
52+
if __count == 0:
5353
raise ImportError(
5454
"\nAt least one of aiohttp or httpx libraries is required\nTry `pip install aiohttp` or `pip install httpx`"
5555
)

0 commit comments

Comments
 (0)