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:
Lonesome byte 2019-08-16 08:42:57 +02:00
parent 0657653872
commit cf482c56c8

View file

@ -84,7 +84,7 @@ class Config(bumblebee.store.Store):
parameters = [item for sub in self._args.parameters for item in sub] parameters = [item for sub in self._args.parameters for item in sub]
for param in parameters: for param in parameters:
key, value = param.split("=") key, value = param.split("=", 1)
self.set(key, value) self.set(key, value)
def modules(self): def modules(self):