mirror of https://github.com/morpheus65535/bazarr
Add exception for configparser import
This commit is contained in:
parent
d6d7c4bd1f
commit
3ac4b75b88
|
@ -5,7 +5,10 @@ import logging
|
|||
import time
|
||||
|
||||
from cork import Cork
|
||||
from configparser import ConfigParser
|
||||
try:
|
||||
from configparser import ConfigParser
|
||||
except ImportError:
|
||||
from configparser2 import ConfigParser
|
||||
from config import settings
|
||||
from check_update import check_releases
|
||||
from get_argv import config_dir
|
||||
|
|
Loading…
Reference in New Issue