(source, name) => (get_source, get_name)

This commit is contained in:
Gnarwhal 2024-09-03 19:45:08 +00:00
parent 49bd55b995
commit f8b077f376
Signed by: Gnarwhal
GPG key ID: 0989A73D8C421174
2 changed files with 2 additions and 2 deletions

View file

@ -48,7 +48,7 @@ args = {
),
}
def source():
def get_source():
logger.info("Uploading contents of clipboard")
return Raw("txt", pyclip.paste())

View file

@ -42,7 +42,7 @@ def init():
logger.fatal(f"Error: 'plugins.latest.directory => {config.directory}' is not a directory")
config.directory = directory
def source():
def get_source():
key = os.path.getmtime
files = config.directory.iterdir()
selection = next(files)