Properly get to the previous path, not home
This commit is contained in:
parent
c728dfa774
commit
f48c81de53
1 changed files with 1 additions and 1 deletions
|
|
@ -948,7 +948,7 @@ class ReplApplication(Cmd, ConsoleApplication):
|
||||||
|
|
||||||
if path:
|
if path:
|
||||||
# Let's go back to the parent directory
|
# Let's go back to the parent directory
|
||||||
self.working_path.home()
|
self.working_path.restore()
|
||||||
else:
|
else:
|
||||||
# Save collections only if we listed the current path.
|
# Save collections only if we listed the current path.
|
||||||
self.collections = collections
|
self.collections = collections
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue