diff options
author | hut <hut@lepus.uberspace.de> | 2015-03-18 19:31:18 +0100 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2015-03-18 19:31:18 +0100 |
commit | 8151f65ce46156f2c70867f9c3be5f73426d316f (patch) | |
tree | f8d4b023b82bdc313d15e9f4dea6e2eed48ab357 | |
parent | 3374b0e723d6215846def1ec195f912de2019694 (diff) | |
download | ranger-8151f65ce46156f2c70867f9c3be5f73426d316f.tar.gz |
renamed `ranger.api.custom_linemode` back to `...register_linemode`
-rw-r--r-- | ranger/api/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/api/__init__.py b/ranger/api/__init__.py index 67ff8bc4..8e9b1d74 100644 --- a/ranger/api/__init__.py +++ b/ranger/api/__init__.py @@ -29,7 +29,7 @@ def hook_ready(fm): from ranger.core.linemode import LinemodeBase -def custom_linemode(linemode_class): +def register_linemode(linemode_class): from ranger.container.fsobject import FileSystemObject FileSystemObject.linemode_dict[linemode_class.name] = linemode_class() return linemode_class |