Skip to content
Permalink
Browse files

Temporarily hardcode plugins version in url ?qgis=3.0

If QGIS 3.0 is actually released this line should be removed.
  • Loading branch information
rduivenvoorde committed Oct 28, 2016
1 parent 9166142 commit 54f312fa7f5b1ff1de2a055bd870817b54cd62bc
Showing with 4 additions and 1 deletion.
  1. +4 −1 python/pyplugin_installer/installer_data.py
@@ -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):

0 comments on commit 54f312f

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