diff options
author | hut <hut@lavabit.com> | 2012-08-04 00:17:24 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2012-08-04 00:17:24 +0200 |
commit | 33e1cb6ca4007a801ca4a2a196292d093df16859 (patch) | |
tree | 6fd10e82216f288cfd114886407ba0588fcb84b9 | |
parent | 36a9763381c54d730a96b963a41cfc0796b2d5cc (diff) | |
download | ranger-33e1cb6ca4007a801ca4a2a196292d093df16859.tar.gz |
Revert e4f37e51 for backwards compatibility
This reverts commit e4f37e51e91cc45b7660e3572a275c8dae6dbec9.
-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 92af0a95..cbc56278 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': str, + 'hidden_filter': lambda x: isinstance(x, str) or hasattr(x, 'match'), 'init_function': (type(None), type(lambda:0)), 'load_default_rc': (bool, type(None)), 'max_console_history_size': (int, type(None)), |