Skip to content

Commit

Permalink
Update lightbin.py
Browse files Browse the repository at this point in the history
  • Loading branch information
emenmousavi authored Apr 26, 2023
1 parent 87f85bb commit b4b08ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightbin.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def generate_bin(card_type):
print(f"Type: {type_name}")
brand_name = response.json().get('brand', 'None')
print(f"Brand: {brand_name}")
if f"Brand: {response.json()['brand']}" == 'false':
if not response.json().get('prepaid'):
print("Prepaid: No")
else:
print("Prepaid: Yes")
Expand Down

0 comments on commit b4b08ff

Please sign in to comment.