Skip to content

Commit fcfbbac

Browse files
author
Hugo Osvaldo Barrera
committed
Fix style violations
1 parent fb153d5 commit fcfbbac

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

totp/__init__.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
#
33
# Print a TOTP token getting the shared key from pass(1).
44

5+
import getpass
56
import os
67
import platform
78
import re
89
import subprocess
910
import sys
1011

11-
import getpass
12-
1312
import onetimepass
1413

1514

@@ -41,7 +40,9 @@ def add_pass_entry(path):
4140
stderr=subprocess.PIPE
4241
)
4342

44-
pass_output, err = p.communicate(input=bytearray(pass_entry,encoding='utf-8'))
43+
pass_output, err = p.communicate(
44+
input=bytearray(pass_entry, encoding='utf-8')
45+
)
4546

4647
if len(err) > 0:
4748
print("pass returned an error:")

0 commit comments

Comments
 (0)