Fix logger names

This commit is contained in:
Christian Wolf 2024-03-06 18:19:49 +01:00
parent b36d5a81ce
commit 9c2b812387
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ ParserList_t = dict[str, html_parser.HtmlParser]
class ResultExtractor:
def __init__(self):
self.l = logging.getLogger("solo_turnier.worker.ResultExtractor")
self.l = logging.getLogger(__name__)
self.rePlaceSingle = re.compile(" *([0-9]+) *")
self.rePlaceDouble = re.compile(" *([0-9]+) *- *([0-9]+) *")

View File

@ -9,7 +9,7 @@ from .. import competition_class
class Worker:
def __init__(self):
self.l = logging.getLogger("solo_turnier.worker.Worker")
self.l = logging.getLogger(__name__)
self._allDances = ["Samba", "Cha Cha", "Rumba", "Paso Doble", "Jive"] + [
"Langs. Walzer",
"Tango",