summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-08-02 04:27:16 +0200
committerhut <hut@lavabit.com>2012-08-02 04:27:16 +0200
commite4f37e51e91cc45b7660e3572a275c8dae6dbec9 (patch)
tree68ab689e46f012c9ab6a222385d8cadef53f7931 /ranger
parent176e8a684cb490393f84e7fdccc6aafda559364b (diff)
downloadranger-e4f37e51e91cc45b7660e3572a275c8dae6dbec9.tar.gz
container.settingobject: fixed type of hidden_filter
Diffstat (limited to 'ranger')
-rw-r--r--ranger/container/settingobject.py2
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)),