summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-10-29 21:19:17 +0200
committerhut <hut@lavabit.com>2011-10-29 21:19:17 +0200
commit0439e68883ae73b713761243a2611f3615ac3b5d (patch)
treecf3fc08ec305f0bb8ee869606b992f167a3f8a0f /ranger
parent6304301bc16b00dfcedfafb762762f47b9df8bd2 (diff)
downloadranger-0439e68883ae73b713761243a2611f3615ac3b5d.tar.gz
api.apps: Fix handling of single-string return values
Diffstat (limited to 'ranger')
-rw-r--r--ranger/api/apps.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/api/apps.py b/ranger/api/apps.py
index 1af3167b..56f8afd2 100644
--- a/ranger/api/apps.py
+++ b/ranger/api/apps.py
@@ -109,7 +109,7 @@ class Applications(FileManagerAware):
 		arguments = handler(context)
 		# flatten
 		if isinstance(arguments, str):
-			return (arguments, )
+			return arguments
 		if arguments is None:
 			return None
 		result = []