Show More
@@ -409,10 +409,13 b' class IPCompleter(Completer):' | |||
|
409 | 409 | if len(matches) == 1 and os.path.isdir(matches[0]): |
|
410 | 410 | # Takes care of links to directories also. Use '/' |
|
411 | 411 | # explicitly, even under Windows, so that name completions |
|
412 | # don't end up escaped. | |
|
413 | pjoin = os.path.join | |
|
412 | # don't end up escaped. | |
|
414 | 413 | d = matches[0] |
|
415 | matches = [ pjoin(d,p) for p in os.listdir(d) ] | |
|
414 | if d[-1] in ['/','\\']: | |
|
415 | d = d[:-1] | |
|
416 | ||
|
417 | matches = [ (d + '/' + p) for p in os.listdir(d) ] | |
|
418 | ||
|
416 | 419 | return matches |
|
417 | 420 | |
|
418 | 421 | def alias_matches(self, text): |
General Comments 0
You need to be logged in to leave comments.
Login now