summaryrefslogtreecommitdiff
path: root/freebase/fcl
diff options
context:
space:
mode:
Diffstat (limited to 'freebase/fcl')
-rwxr-xr-xfreebase/fcl/fcl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/freebase/fcl/fcl.py b/freebase/fcl/fcl.py
index 769efe5..b62317d 100755
--- a/freebase/fcl/fcl.py
+++ b/freebase/fcl/fcl.py
@@ -123,7 +123,7 @@ class FclCommandHandler(object):
return self.pwd
if path == '..':
- return '/'.join(self.pwd.split('/')[:-1])
+ return '/'.join(self.pwd.split('/')[:-1]) or '/'
return os.path.join(self.pwd, path)