Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Jan 22, 2018
1 parent c687077 commit 08255f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/pyplugin_installer/installer.py
Expand Up @@ -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"))
Expand Down

0 comments on commit 08255f7

Please sign in to comment.