Simple -v flag for verbose output.
This commit is contained in:
1 parent
e9e4775c3c
commit
06954830a1
1 file changed
+1
-1
+1
-1
@@ -32,7 +32,7 @@ if sys.version_info[0] >= 3:
|
||||
sys.stdin = sys.stdin.detach()
|
||||
|
||||
message = sys.stdin.read()
|
||||
verbose = True
|
||||
verbose = '-v' in sys.argv
|
||||
if verbose:
|
||||
d = dkim.DKIM(message)
|
||||
res = d.verify()
|
||||
|
||||
Reference in new issue
Block a user