diff options
author | hut <hut@lavabit.com> | 2011-10-29 21:19:17 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-10-29 21:19:17 +0200 |
commit | 0439e68883ae73b713761243a2611f3615ac3b5d (patch) | |
tree | cf3fc08ec305f0bb8ee869606b992f167a3f8a0f | |
parent | 6304301bc16b00dfcedfafb762762f47b9df8bd2 (diff) | |
download | ranger-0439e68883ae73b713761243a2611f3615ac3b5d.tar.gz |
api.apps: Fix handling of single-string return values
-rw-r--r-- | ranger/api/apps.py | 2 |
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 = [] |