Bugfix in parameter parser
This bug prevented equal signs from being used in parameter values, e.g. -p url="http://www.foo.org/?a=5"
This commit is contained in:
parent
0657653872
commit
cf482c56c8
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class Config(bumblebee.store.Store):
|
|||
|
||||
parameters = [item for sub in self._args.parameters for item in sub]
|
||||
for param in parameters:
|
||||
key, value = param.split("=")
|
||||
key, value = param.split("=", 1)
|
||||
self.set(key, value)
|
||||
|
||||
def modules(self):
|
||||
|
|
Loading…
Reference in a new issue