Quote:
Originally Posted by ownedbycats
A custom module. I use it to re-sort books at the end of a chain.
Code:
from calibre_plugins.action_chains.actions.base import ChainAction
class RefreshAction(ChainAction):
name = 'Refresh View'
def run(self, gui, settings, chain_loop):
gui.current_view().resort()
|
where is this code written? Is there a manual for writing code?