Skip to content

Commit 54f312f

Browse files
committed
Temporarily hardcode plugins version in url ?qgis=3.0
If QGIS 3.0 is actually released this line should be removed.
1 parent 9166142 commit 54f312f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

python/pyplugin_installer/installer_data.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,10 @@ def allUnavailable(self):
236236
def urlParams(self):
237237
""" return GET parameters to be added to every request """
238238
v = str(Qgis.QGIS_VERSION_INT)
239-
return "?qgis=%d.%d" % (int(v[0]), int(v[1:3]))
239+
# TODO: make this proper again after 3.0 release, by uncommenting
240+
# the line below and removing the other return line:
241+
#return "?qgis=%d.%d" % (int(v[0]), int(v[1:3]))
242+
return "?qgis=3.0"
240243

241244
# ----------------------------------------- #
242245
def setRepositoryData(self, reposName, key, value):

0 commit comments

Comments
 (0)