diff options
Diffstat (limited to 'ranger/shared/settings.py')
-rw-r--r-- | ranger/shared/settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/shared/settings.py b/ranger/shared/settings.py index 1822c38a..f5d8614f 100644 --- a/ranger/shared/settings.py +++ b/ranger/shared/settings.py @@ -14,6 +14,7 @@ # along with this program. If not, see <http://www.gnu.org/licenses/>. import sys +from inspect import isfunction import ranger from ranger.ext.signal_dispatcher import SignalDispatcher from ranger.ext.openstruct import OpenStruct @@ -107,7 +108,6 @@ class SettingObject(SignalDispatcher): def _check_type(self, name, value): - from inspect import isfunction typ = ALLOWED_SETTINGS[name] if isfunction(typ): assert typ(value), \ |