diff options
Diffstat (limited to 'freebase')
| -rwxr-xr-x | freebase/fcl/fcl.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/freebase/fcl/fcl.py b/freebase/fcl/fcl.py index 835f0da..769efe5 100755 --- a/freebase/fcl/fcl.py +++ b/freebase/fcl/fcl.py @@ -122,6 +122,9 @@ class FclCommandHandler(object): if path == '' or path == '.': return self.pwd + if path == '..': + return '/'.join(self.pwd.split('/')[:-1]) + return os.path.join(self.pwd, path) |
