1
0
This commit is contained in:
Jeff Lance 2024-03-09 13:06:18 +01:00
parent c7746dc96a
commit 2d71e60ebb

View File

@ -12,6 +12,8 @@ from plugins.ranger_udisk_menu.mounter import mount
from plugins.ranger_tmsu import Tmsu from plugins.ranger_tmsu import Tmsu
import os import os
import ranger.api
import ranger.core.linemode
tmsu = Tmsu.findTmsu() tmsu = Tmsu.findTmsu()
@ -124,10 +126,6 @@ class tmsu_ls(Command):
self.fm.notify(tags) self.fm.notify(tags)
import ranger.api
import ranger.core.linemode
@ranger.api.register_linemode # It may be used as a decorator too! @ranger.api.register_linemode # It may be used as a decorator too!
class MyLinemode(ranger.core.linemode.LinemodeBase): class MyLinemode(ranger.core.linemode.LinemodeBase):
name = "tmsu_linemode" name = "tmsu_linemode"