Fixed the UrlBuilder utility to allow dummy parameter value that is None in the Mia core application.

This commit is contained in:
依瑪貓 2020-07-24 07:25:30 +08:00
parent 10cbe2a70f
commit 5a2a3a6c56

View File

@ -175,6 +175,7 @@ class UrlBuilder:
UrlBuilder: The URL builder itself, with the parameter UrlBuilder: The URL builder itself, with the parameter
modified. modified.
""" """
if value is not None:
self.params.append(self.Param(name, value)) self.params.append(self.Param(name, value))
return self return self