aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--object.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/object.py b/object.py
index de6335b..6702a6c 100644
--- a/object.py
+++ b/object.py
@@ -145,11 +145,11 @@ class ObjectHandler :
self.root = OBJECT_ROOT + user + '/'
def getDirectory( self, hash ) :
- directory = self.root + hash[:2] + '/' + hash[2:]
- if ( os.path.exists( directory ) ) :
- return directory
- else :
- return None
+ directory = self.root + hash[:2] + '/' + hash[2:]
+ if ( os.path.exists( directory ) ) :
+ return directory
+ else :
+ return None
#return a list of hash,permission pairs
def getChildList( self, hash, user) :