diff options
author | hut <hut@lavabit.com> | 2011-10-02 20:00:17 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-10-02 20:00:17 +0200 |
commit | 9db1828fb544685615d99a4969a49258f58ebb21 (patch) | |
tree | 077f2637301a748224958b24045281349138a29e /ranger | |
parent | 4a04a9530d77c78c3574bb8b320f7ea3f163b13f (diff) | |
download | ranger-9db1828fb544685615d99a4969a49258f58ebb21.tar.gz |
api.apps: fixed error message
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/api/apps.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/api/apps.py b/ranger/api/apps.py index 86c7b017..dc4918d8 100644 --- a/ranger/api/apps.py +++ b/ranger/api/apps.py @@ -106,6 +106,8 @@ class Applications(FileManagerAware): # flatten if isinstance(arguments, str): return (arguments, ) + if arguments is None: + return None result = [] for obj in arguments: if isinstance(obj, (tuple, list, Context)): |