summary refs log tree commit diff stats
path: root/ranger/environment.py
diff options
context:
space:
mode:
Diffstat (limited to 'ranger/environment.py')
-rw-r--r--ranger/environment.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/environment.py b/ranger/environment.py
index e0ac646a..f5dbe176 100644
--- a/ranger/environment.py
+++ b/ranger/environment.py
@@ -86,6 +86,8 @@ class Environment():
 				self.history.pop(0)
 
 	def enter_dir(self, path, history = True):
+		path = str(path)
+
 		# get the absolute path
 		path = normpath(join(self.path, expanduser(path)))