diff options
author | hut <hut@lavabit.com> | 2012-08-02 04:27:16 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2012-08-02 04:27:16 +0200 |
commit | e4f37e51e91cc45b7660e3572a275c8dae6dbec9 (patch) | |
tree | 68ab689e46f012c9ab6a222385d8cadef53f7931 /ranger | |
parent | 176e8a684cb490393f84e7fdccc6aafda559364b (diff) | |
download | ranger-e4f37e51e91cc45b7660e3572a275c8dae6dbec9.tar.gz |
container.settingobject: fixed type of hidden_filter
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/container/settingobject.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/container/settingobject.py b/ranger/container/settingobject.py index cbc56278..92af0a95 100644 --- a/ranger/container/settingobject.py +++ b/ranger/container/settingobject.py @@ -19,7 +19,7 @@ ALLOWED_SETTINGS = { 'draw_bookmark_borders': bool, 'draw_borders': bool, 'flushinput': bool, - 'hidden_filter': lambda x: isinstance(x, str) or hasattr(x, 'match'), + 'hidden_filter': str, 'init_function': (type(None), type(lambda:0)), 'load_default_rc': (bool, type(None)), 'max_console_history_size': (int, type(None)), |