瀏覽代碼

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

pull/492/head
leo-stone 5 年之前
committed by Guillaume Vincent
父節點
當前提交
999e5e2d6d
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      cli/lesspass/clipboard.py

+ 1
- 1
cli/lesspass/clipboard.py 查看文件

@@ -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…
取消
儲存