mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-13 00:03:09 -04:00
Remove invalid decode statements from plugin installer
This commit is contained in:
parent
e3fc73f41e
commit
65c6974d1d
@ -492,7 +492,6 @@ class QgsPluginInstaller(QObject):
|
||||
""" delete repository connection """
|
||||
if not reposName:
|
||||
return
|
||||
reposName = reposName.decode('utf-8')
|
||||
settings = QgsSettings()
|
||||
settings.beginGroup(reposGroup)
|
||||
if settings.value(reposName + "/url", "", type=str) == officialRepo[1]:
|
||||
@ -510,8 +509,6 @@ class QgsPluginInstaller(QObject):
|
||||
# ----------------------------------------- #
|
||||
def setRepositoryInspectionFilter(self, reposName=None):
|
||||
""" temporarily block another repositories to fetch only one for inspection """
|
||||
if reposName is not None:
|
||||
reposName = reposName.decode("utf-8")
|
||||
repositories.setInspectionFilter(reposName)
|
||||
self.reloadAndExportData()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user