diff options
author | hut <hut@lavabit.com> | 2011-10-29 21:19:17 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-10-29 21:23:20 +0200 |
commit | 2bcfbe93584f3e9bdd4f80ff4cce43e39a545914 (patch) | |
tree | f047c4839e4293384b9a0b2c6adcd2e6989c666f | |
parent | e7758ebaa5e36c866c0674474a4f0a884ccd734f (diff) | |
download | ranger-2bcfbe93584f3e9bdd4f80ff4cce43e39a545914.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 = [] |