Skip to content
Permalink
Browse files

fix indentation

  • Loading branch information
alexbruy committed Jan 22, 2018
1 parent c687077 commit 08255f7ba0dce3b997417dc34eae80572a49ee52
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/pyplugin_installer/installer.py
@@ -525,7 +525,7 @@ def sendVote(self, plugin_id, vote):
if not plugin_id or not vote:
return False
url = "http://plugins.qgis.org/plugins/RPC2/"
params = {"id":"djangorpc", "method":"plugin.vote", "params":[str(plugin_id), str(vote)]}
params = {"id": "djangorpc", "method": "plugin.vote", "params": [str(plugin_id), str(vote)]}
req = QNetworkRequest(QUrl(url))
req.setRawHeader(b"Content-Type", b"application/json")
QgsNetworkAccessManager.instance().post(req, bytes(json.dumps(params), "utf-8"))

0 comments on commit 08255f7

Please sign in to comment.
You can’t perform that action at this time.