Skip to content

Commit

Permalink
Output cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cdgriffith committed Aug 8, 2024
1 parent 7f9b9a4 commit 7ed0d03
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions puremagic/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -398,13 +398,13 @@ def command_line_entry(*args):
if i == 0:
print("\n\tBest Match")
else:
print(f"\tAlertnative Match {i}")
print(f"\tname: {result.name}")
print(f"\tconfidence: {result.confidence}")
print(f"\textension: {result.extension}")
print(f"\tmime_type: {result.mime_type}")
print(f"\tbyte_match: {result.byte_match}")
print(f"\toffset: {result.offset}")
print(f"\tAlertnative Match #{i}")
print(f"\tName: {result.name}")
print(f"\tConfidence: {int(result.confidence * 100)}%")
print(f"\tExtension: {result.extension}")
print(f"\tMime Type: {result.mime_type}")
print(f"\tByte Match: {result.byte_match}")
print(f"\tOffset: {result.offset}")
print("")


Expand Down

0 comments on commit 7ed0d03

Please sign in to comment.