diff options
author | Halali <[email protected]> | 2019-01-01 16:06:10 +0100 |
---|---|---|
committer | Halali <[email protected]> | 2019-01-01 16:06:10 +0100 |
commit | 51d5e5c9894cc2479b120cd20f8b68abc9193a90 (patch) | |
tree | a238ad6eebc33e68cda4993841929312c9319ece /libs/simpleconfigparser | |
parent | 4c8b2259264c1ffefe8ab18f308de61f67cf7638 (diff) | |
download | bazarr-51d5e5c9894cc2479b120cd20f8b68abc9193a90.tar.gz bazarr-51d5e5c9894cc2479b120cd20f8b68abc9193a90.zip |
Fix configparser2 import
Diffstat (limited to 'libs/simpleconfigparser')
-rw-r--r-- | libs/simpleconfigparser/__init__.py | 2 |
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 |