Skip to content
This repository has been archived by the owner on Sep 22, 2022. It is now read-only.

Commit

Permalink
Merge pull request #24 from qurbat/hotfix
Browse files Browse the repository at this point in the history
Minor fixes
  • Loading branch information
qurbat committed May 18, 2022
2 parents a79c537 + 530f411 commit 8705a80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions upi-recon.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ def address_discovery(vpa, api_url):
# if r.status_code == 200 and r.json()['success'] == False:
# print('[-] ' + vpa + ' not a valid UPI address')
# todo: store in dict by default and print if verbosity is set
else:
elif r.status_code != 200:
print('[-] query failed for ' + vpa)
print('[!] "' + vpa + '" may not be a valid address')
# print('[!] "' + vpa + '" may not be a valid address')


if __name__ == '__main__':
Expand Down Expand Up @@ -151,4 +151,4 @@ def address_discovery(vpa, api_url):
else:
print('[!] please enter a valid argument')
print('[!] usage: upi-recon.py -h for help')
exit(1)
exit(1)

0 comments on commit 8705a80

Please sign in to comment.