diff options
Diffstat (limited to 'Lib/ConfigParser.py')
-rw-r--r-- | Lib/ConfigParser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/ConfigParser.py b/Lib/ConfigParser.py index e1ce9dd..38a85f4 100644 --- a/Lib/ConfigParser.py +++ b/Lib/ConfigParser.py @@ -197,7 +197,7 @@ class ConfigParser: configuration files in the list will be read. A single filename may also be given. """ - if type(filenames) is type(''): + if type(filenames) in [type(''), type(u'')]: filenames = [filenames] for filename in filenames: try: |