-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,9 +27,7 @@ | |
|
||
|
||
def complete(source, line, column, source_path): | ||
source = source.value() | ||
source_path = source_path.value() | ||
script = jedi.Script(source, line, column, source_path) | ||
script = jedi.Script(source, line, column, source_path or '') | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
tkf
Author
Owner
|
||
reply = [] | ||
for comp in script.complete(): | ||
reply.append(dict( | ||
|
how does that happen? not having a source_path? just be careful with that, because I use the source_path for caching (you're just using implementation details here).