summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-10-29 21:19:17 +0200
committerhut <hut@lavabit.com>2011-10-29 21:23:20 +0200
commit2bcfbe93584f3e9bdd4f80ff4cce43e39a545914 (patch)
treef047c4839e4293384b9a0b2c6adcd2e6989c666f
parente7758ebaa5e36c866c0674474a4f0a884ccd734f (diff)
downloadranger-2bcfbe93584f3e9bdd4f80ff4cce43e39a545914.tar.gz
api.apps: Fix handling of single-string return values
-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 = []