Removed Py3 try except in mbnames.py
Same code in try and except.
This commit is contained in:
parent
bf08bb314d
commit
ddfc2a766c
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user