Skip to content

Commit 018e958

Browse files
committed
[Plugin Installer] fix #8410
1 parent 018168c commit 018e958

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/pyplugin_installer/installer.py

+2
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,7 @@ def editRepository(self, reposName):
445445
""" edit repository connection """
446446
if not reposName:
447447
return
448+
reposName = reposName.decode( 'utf-8' )
448449
checkState={False:Qt.Unchecked,True:Qt.Checked}
449450
dlg = QgsPluginInstallerRepositoryDialog( iface.mainWindow() )
450451
dlg.editName.setText(reposName)
@@ -486,6 +487,7 @@ def deleteRepository(self, reposName):
486487
""" delete repository connection """
487488
if not reposName:
488489
return
490+
reposName = reposName.decode( 'utf-8' )
489491
settings = QSettings()
490492
settings.beginGroup(reposGroup)
491493
if settings.value(reposName+"/url", "", type=unicode) == officialRepo[1]:

0 commit comments

Comments
 (0)