about summary refs log tree commit diff stats
path: root/ranger/fsobject
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-12-26 01:02:36 +0100
committerhut <hut@lavabit.com>2009-12-26 01:02:36 +0100
commit20f949734282bbddb1c45951ea1f88419e7c992b (patch)
tree80d4725236bc427ed0116f2ea9ee10d6de43cff5 /ranger/fsobject
parentae57e58776adca204f021df6f84c9c54541bcbc4 (diff)
downloadranger-20f949734282bbddb1c45951ea1f88419e7c992b.tar.gz
implemented tagging
Diffstat (limited to 'ranger/fsobject')
-rw-r--r--ranger/fsobject/fsobject.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/fsobject/fsobject.py b/ranger/fsobject/fsobject.py
index f7d9772c..28ef5c5b 100644
--- a/ranger/fsobject/fsobject.py
+++ b/ranger/fsobject/fsobject.py
@@ -43,12 +43,13 @@ class FileSystemObject(MimeTypeAware, FileManagerAware):
 		if type(self) == FileSystemObject:
 			raise TypeError("Cannot initialize abstract class FileSystemObject")
 
-		from os.path import basename, dirname
+		from os.path import basename, dirname, realpath
 
 		self.path = path
 		self.basename = basename(path)
 		self.basename_lower = self.basename.lower()
 		self.dirname = dirname(path)
+		self.realpath = realpath(path)
 
 		try:
 			self.extension = self.basename[self.basename.rindex('.') + 1:]