Replace ' ' with '+' in modules/define.py's URL-getting
This commit is contained in:
parent
ce2231900d
commit
84ebe5351b
1 changed files with 1 additions and 0 deletions
|
@ -29,6 +29,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
word = event["args"]
|
word = event["args"]
|
||||||
else:
|
else:
|
||||||
word = event["target"].buffer.get(from_self=False)
|
word = event["target"].buffer.get(from_self=False)
|
||||||
|
word = word.replace(" ", "+")
|
||||||
|
|
||||||
page = self._get_definition(word)
|
page = self._get_definition(word)
|
||||||
if page:
|
if page:
|
||||||
|
|
Loading…
Reference in a new issue