Fix logger names
This commit is contained in:
parent
b36d5a81ce
commit
9c2b812387
@ -9,7 +9,7 @@ ParserList_t = dict[str, html_parser.HtmlParser]
|
|||||||
|
|
||||||
class ResultExtractor:
|
class ResultExtractor:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.l = logging.getLogger("solo_turnier.worker.ResultExtractor")
|
self.l = logging.getLogger(__name__)
|
||||||
self.rePlaceSingle = re.compile(" *([0-9]+) *")
|
self.rePlaceSingle = re.compile(" *([0-9]+) *")
|
||||||
self.rePlaceDouble = re.compile(" *([0-9]+) *- *([0-9]+) *")
|
self.rePlaceDouble = re.compile(" *([0-9]+) *- *([0-9]+) *")
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ from .. import competition_class
|
|||||||
|
|
||||||
class Worker:
|
class Worker:
|
||||||
def __init__(self):
|
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"] + [
|
self._allDances = ["Samba", "Cha Cha", "Rumba", "Paso Doble", "Jive"] + [
|
||||||
"Langs. Walzer",
|
"Langs. Walzer",
|
||||||
"Tango",
|
"Tango",
|
||||||
|
Loading…
Reference in New Issue
Block a user