Fixed the UrlBuilder utility to allow dummy parameter value that is None in the Mia core application.
This commit is contained in:
1 parent
10cbe2a70f
commit
5a2a3a6c56
1 file changed
+2
-1
+2
-1
@@ -175,7 +175,8 @@ class UrlBuilder:
|
|||||||
UrlBuilder: The URL builder itself, with the parameter
|
UrlBuilder: The URL builder itself, with the parameter
|
||||||
modified.
|
modified.
|
||||||
"""
|
"""
|
||||||
self.params.append(self.Param(name, value))
|
if value is not None:
|
||||||
|
self.params.append(self.Param(name, value))
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def del_param(self, name):
|
def del_param(self, name):
|
||||||
|
|||||||
Reference in new issue
Block a user