Skip to content

Commit 88ca6c9

Browse files
committed
pretty
1 parent 3cf221d commit 88ca6c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cryptojwt/tools/keyconv.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def jwk2pem(jwk: JWK, private: bool = False) -> bytes:
9898

9999
def main():
100100
""" Main function"""
101-
parser = argparse.ArgumentParser(description='JWK Key Conversion Utility')
101+
parser = argparse.ArgumentParser(description='JWK Conversion Utility')
102102

103103
parser.add_argument('--kid',
104104
dest='kid',
@@ -137,7 +137,7 @@ def main():
137137
with open(args.output, mode='wt') as file:
138138
file.write(json.dumps(serialized))
139139
else:
140-
print(serialized)
140+
print(json.dumps(serialized, indent=4))
141141
else:
142142
exit(-1)
143143

0 commit comments

Comments
 (0)