diff options
author | stepshal <nessento@openmailbox.org> | 2016-06-16 18:22:57 +0700 |
---|---|---|
committer | stepshal <nessento@openmailbox.org> | 2016-06-16 18:22:57 +0700 |
commit | ab41c7766ced3f1b8f6b4ed317f0db4e0d71b897 (patch) | |
tree | 3315bb7587acb020cee88dbc0382d68671d7383e /examples/plugin_file_filter.py | |
parent | 7c760ac0256aa1d27433e8f410ae014be2da2334 (diff) | |
download | ranger-ab41c7766ced3f1b8f6b4ed317f0db4e0d71b897.tar.gz |
Add two blank lines where is expected
Diffstat (limited to 'examples/plugin_file_filter.py')
-rw-r--r-- | examples/plugin_file_filter.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/plugin_file_filter.py b/examples/plugin_file_filter.py index d5ea2d2d..5d5f1466 100644 --- a/examples/plugin_file_filter.py +++ b/examples/plugin_file_filter.py @@ -10,6 +10,8 @@ old_accept_file = ranger.container.directory.accept_file HIDE_FILES = ("/boot", "/sbin", "/proc", "/sys") # Define a new one + + def custom_accept_file(file, filters): if not file.fm.settings.show_hidden and file.path in HIDE_FILES: return False |