Skip to content

Commit

Permalink
Improve format printing
Browse files Browse the repository at this point in the history
  • Loading branch information
verovaleros committed Aug 4, 2023
1 parent f2167c5 commit 762ebb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sapito.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ def do(pkt):

# In the answer section, TXT records give additional info about a resource reoord
elif type(answers_name) == DNSRRTXT:
print('\t\t\tType {}. '.format(answers.name))
print(f'Type: \033[36m{answers.name}\033[95m')

# Loop
answers_name = answers_name.payload
Expand Down

0 comments on commit 762ebb1

Please sign in to comment.