Removed Py3 try except in mbnames.py

Same code in try and except.
This commit is contained in:
Rodolfo García Peñas (kix) 2020-08-29 21:29:06 +02:00
parent bf08bb314d
commit ddfc2a766c

View File

@ -21,11 +21,7 @@ import json
from threading import Lock from threading import Lock
from os import listdir, makedirs, path, unlink from os import listdir, makedirs, path, unlink
from sys import exc_info from sys import exc_info
from configparser import NoSectionError
try:
from configparser import NoSectionError
except ImportError: # Py3.
from configparser import NoSectionError
_mbLock = Lock() _mbLock = Lock()
_mbnames = None _mbnames = None