diff --git a/recycle_files.py b/recycle_files.py index 7c42002..7449fa8 100644 --- a/recycle_files.py +++ b/recycle_files.py @@ -8,4 +8,4 @@ for line in pipeable.go(): pipeable.stdout(line) send2trash.send2trash(line) else: - pipeable.stderr('Not a file', line) + pipeable.stderr(f'Not a file {line}') diff --git a/watchforlinks.py b/watchforlinks.py index cde8e92..f6104a6 100644 --- a/watchforlinks.py +++ b/watchforlinks.py @@ -46,7 +46,7 @@ def loop_once(extension, regex=None): path = pathclass.Path(passwordy.urandom_hex(12)).add_extension(extension) pyperclip.copy('') - pipeable.stdout(path.basename, text) + pipeable.stdout(f'{path.basename} {text}') path.write('w', text, encoding='utf-8') def loop_forever(extension, regex):