Fix issues with utf8 paths from config
parent
2808f51c88
commit
89d6fcf97b
|
@ -202,7 +202,7 @@ def get_config():
|
||||||
"""
|
"""
|
||||||
global token
|
global token
|
||||||
config = configparser.ConfigParser()
|
config = configparser.ConfigParser()
|
||||||
config.read(os.path.join(os.path.expanduser('~'), '.config/scdl/scdl.cfg'))
|
config.read(os.path.join(os.path.expanduser('~'), '.config/scdl/scdl.cfg'), "utf8")
|
||||||
try:
|
try:
|
||||||
token = config['scdl']['auth_token']
|
token = config['scdl']['auth_token']
|
||||||
path = config['scdl']['path']
|
path = config['scdl']['path']
|
||||||
|
|
Loading…
Reference in New Issue