summaryrefslogtreecommitdiffhomepage
path: root/libs/simpleconfigparser
diff options
context:
space:
mode:
authorHalali <[email protected]>2019-01-01 16:06:10 +0100
committerHalali <[email protected]>2019-01-01 16:06:10 +0100
commit51d5e5c9894cc2479b120cd20f8b68abc9193a90 (patch)
treea238ad6eebc33e68cda4993841929312c9319ece /libs/simpleconfigparser
parent4c8b2259264c1ffefe8ab18f308de61f67cf7638 (diff)
downloadbazarr-51d5e5c9894cc2479b120cd20f8b68abc9193a90.tar.gz
bazarr-51d5e5c9894cc2479b120cd20f8b68abc9193a90.zip
Fix configparser2 import
Diffstat (limited to 'libs/simpleconfigparser')
-rw-r--r--libs/simpleconfigparser/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/simpleconfigparser/__init__.py b/libs/simpleconfigparser/__init__.py
index 6e6d3d385..d2f7d81f1 100644
--- a/libs/simpleconfigparser/__init__.py
+++ b/libs/simpleconfigparser/__init__.py
@@ -24,7 +24,7 @@ THE SOFTWARE.
"""
try:
- from configparser import ConfigParser as configparser, NoOptionError, NoSectionError
+ from configparser2 import ConfigParser as configparser, NoOptionError, NoSectionError
except ImportError:
from ConfigParser import SafeConfigParser as configparser, NoOptionError, NoSectionError