about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--ranger/defaults/apps.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/defaults/apps.py b/ranger/defaults/apps.py
index 935b3578..49233ce3 100644
--- a/ranger/defaults/apps.py
+++ b/ranger/defaults/apps.py
@@ -144,7 +144,7 @@ class CustomApplications(Applications):
 	
 	@depends_on('zsnes')
 	def app_zsnes(self, c):
-		return tup("zsnes", c.file)
+		return tup("zsnes", c.file.path)
 	
 	@depends_on('evince')
 	def app_evince(self, c):
@@ -152,7 +152,7 @@ class CustomApplications(Applications):
 	
 	@depends_on('wine')
 	def app_wine(self, c):
-		return tup("wine", c.file)
+		return tup("wine", c.file.path)
 
 	@depends_on('totem')
 	def app_totem(self, c):