Fix joining :jseval path
This commit is contained in:
parent
cbf5fc01fa
commit
487951cd31
@ -2062,7 +2062,7 @@ class CommandDispatcher:
|
||||
if file:
|
||||
path = os.path.expanduser(js_code)
|
||||
if not os.path.isabs(path):
|
||||
path = os.path.join(standarddir.data(), 'js')
|
||||
path = os.path.join(standarddir.data(), 'js', path)
|
||||
|
||||
try:
|
||||
with open(path, 'r', encoding='utf-8') as f:
|
||||
|
Loading…
Reference in New Issue
Block a user