Skip to content

Commit

Permalink
Remove invalid decode statements from plugin installer
Browse files Browse the repository at this point in the history
  • Loading branch information
g-sherman committed Oct 23, 2017
1 parent e3fc73f commit 65c6974
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions python/pyplugin_installer/installer.py
Expand Up @@ -492,7 +492,6 @@ def deleteRepository(self, reposName):
""" 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]:
Expand All @@ -510,8 +509,6 @@ def deleteRepository(self, reposName):
# ----------------------------------------- #
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()

Expand Down

0 comments on commit 65c6974

Please sign in to comment.