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