Skip to content

Commit 2f2fcfd

Browse files
committed
fix: ensure type
1 parent dac08c4 commit 2f2fcfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qgist/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def getTranslationPath(language):
6868
raise QgistTranslationError('Translation not found: %s' % outPath)
6969
return outPath
7070

71-
userLocale = QSettings().value('locale/userLocale')
71+
userLocale = str(QSettings().value('locale/userLocale'))
7272
if '_' in userLocale:
7373
language, region = userLocale.split('_')
7474
else:

0 commit comments

Comments
 (0)