Add exception for configparser import

pull/292/head
Halali 6 years ago
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…
Cancel
Save