Browse Source

encode password into bytearray for piping to system copy into clipboard command (#488)

pull/492/head
leo-stone 5 years ago
committed by Guillaume Vincent
parent
commit
999e5e2d6d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cli/lesspass/clipboard.py

+ 1
- 1
cli/lesspass/clipboard.py View File

@@ -46,4 +46,4 @@ def copy(text):
p = _popen(args)
else:
p = _popen(args, close_fds=True)
p.communicate(input=text)
p.communicate(input=text.encode('ascii'))

Loading…
Cancel
Save