We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb153d5 commit fcfbbacCopy full SHA for fcfbbac
totp/__init__.py
@@ -2,14 +2,13 @@
2
#
3
# Print a TOTP token getting the shared key from pass(1).
4
5
+import getpass
6
import os
7
import platform
8
import re
9
import subprocess
10
import sys
11
-import getpass
12
-
13
import onetimepass
14
15
@@ -41,7 +40,9 @@ def add_pass_entry(path):
41
40
stderr=subprocess.PIPE
42
)
43
44
- pass_output, err = p.communicate(input=bytearray(pass_entry,encoding='utf-8'))
+ pass_output, err = p.communicate(
+ input=bytearray(pass_entry, encoding='utf-8')
45
+ )
46
47
if len(err) > 0:
48
print("pass returned an error:")
0 commit comments