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