refactor: Use logging util in config
This commit is contained in:
parent
153ac4227a
commit
7bc8496b6f
@ -1,9 +1,10 @@
|
||||
import configparser
|
||||
import logging
|
||||
import os
|
||||
from os.path import dirname, realpath
|
||||
|
||||
logger = logging.getLogger("ankisyncd")
|
||||
from ankisyncd import logging
|
||||
|
||||
logger = logging.get_logger(__name__)
|
||||
|
||||
paths = [
|
||||
"/etc/ankisyncd/ankisyncd.conf",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user