nncli

NextCloud Notes Command Line Interface
git clone git://git.danielmoch.com/nncli.git
Log | Files | Refs | LICENSE

commit 98f7e14c3e203a9777d3d88b55107f5cdf77d55a
parent 1247b63818a22babf760c73a5397d5d950acec9b
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Mon, 18 Nov 2019 05:50:48 -0500

clipboard: Fix line continuations

Diffstat:
Mnncli/clipboard.py | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/nncli/clipboard.py b/nncli/clipboard.py @@ -14,21 +14,21 @@ def get_copy_command(): """Defines the copy command based on the contents of $PATH""" try: - subprocess.check_call(['which', 'xsel'], stdout=DEVNULL, + subprocess.check_call(['which', 'xsel'], stdout=DEVNULL, \ stderr=DEVNULL) return 'echo "%s" | xsel -ib' except CalledProcessError: pass try: - subprocess.check_call(['which', 'pbcopy'], stdout=DEVNULL, + subprocess.check_call(['which', 'pbcopy'], stdout=DEVNULL, \ stderr=DEVNULL) return 'echo "%s" | pbcopy' except CalledProcessError: pass try: - subprocess.check_call(['which', 'xclip'], stdout=DEVNULL, + subprocess.check_call(['which', 'xclip'], stdout=DEVNULL, \ stderr=DEVNULL) return 'echo "%s" | xclip -selection clipboard' except CalledProcessError: