From 2d71e60ebb78a3ed6a7090d2d948e708697caf3c Mon Sep 17 00:00:00 2001 From: Jeff LANCE Date: Sat, 9 Mar 2024 13:06:18 +0100 Subject: [PATCH] Up. --- home/dot_config/ranger/commands.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/home/dot_config/ranger/commands.py b/home/dot_config/ranger/commands.py index e248c0f..0833209 100644 --- a/home/dot_config/ranger/commands.py +++ b/home/dot_config/ranger/commands.py @@ -12,6 +12,8 @@ from plugins.ranger_udisk_menu.mounter import mount from plugins.ranger_tmsu import Tmsu import os +import ranger.api +import ranger.core.linemode tmsu = Tmsu.findTmsu() @@ -124,10 +126,6 @@ class tmsu_ls(Command): self.fm.notify(tags) -import ranger.api -import ranger.core.linemode - - @ranger.api.register_linemode # It may be used as a decorator too! class MyLinemode(ranger.core.linemode.LinemodeBase): name = "tmsu_linemode"