Skip to content

Commit 3dd15f1

Browse files
committed
Zero idea what I'm doing
1 parent ad5b4eb commit 3dd15f1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

sport80/sport80.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
""" Main file """
2+
import logging
23
from .sport80_http_client import SportEightyHTTP
34

45

56
class SportEighty:
67
"""
78
This class enables a variety of functions that can be carried out with a sport80 subdomain.
89
"""
9-
def __init__(self, subdomain: str):
10-
self.__http_client = SportEightyHTTP(subdomain)
10+
def __init__(self, subdomain: str, debug: logging):
11+
self.__http_client = SportEightyHTTP(subdomain, debug_lvl=debug)
1112

1213
def event_index(self) -> list:
1314
""" Shorthand call """

0 commit comments

Comments
 (0)