Correct brackets

This commit is contained in:
Tim Bentley 2012-02-25 18:31:02 +00:00
parent 3e1ba89a41
commit 025fe7e145

View File

@ -329,7 +329,7 @@ def create_separated_list(stringlist):
List of unicode strings List of unicode strings
""" """
if Qt.PYQT_VERSION_STR >= u'4.9': if Qt.PYQT_VERSION_STR >= u'4.9':
return unicode(QtCore.QLocale.createSeparatedList(stringlist)) return unicode(QtCore.QLocale().createSeparatedList(stringlist))
if not stringlist: if not stringlist:
return u'' return u''
elif len(stringlist) == 1: elif len(stringlist) == 1: