Skip to content

Commit

Permalink
Temporarily hardcode plugins version in url ?qgis=3.0
Browse files Browse the repository at this point in the history
If QGIS 3.0 is actually released this line should be removed.
  • Loading branch information
rduivenvoorde committed Oct 28, 2016
1 parent 9166142 commit 54f312f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/pyplugin_installer/installer_data.py
Expand Up @@ -236,7 +236,10 @@ def allUnavailable(self):
def urlParams(self):
""" return GET parameters to be added to every request """
v = str(Qgis.QGIS_VERSION_INT)
return "?qgis=%d.%d" % (int(v[0]), int(v[1:3]))
# TODO: make this proper again after 3.0 release, by uncommenting
# the line below and removing the other return line:
#return "?qgis=%d.%d" % (int(v[0]), int(v[1:3]))
return "?qgis=3.0"

# ----------------------------------------- #
def setRepositoryData(self, reposName, key, value):
Expand Down

0 comments on commit 54f312f

Please sign in to comment.