Skip to content
This repository was archived by the owner on Feb 13, 2021. It is now read-only.

Commit 0a76dca

Browse files
authored
Whoops
1 parent 8c5005a commit 0a76dca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ def get_profile(profile_name):
5858
if p["profile_name"] == profile_name:
5959
try:
6060
p["card_number"] = (Encryption().decrypt(p["card_number"].encode("utf-8"))).decode("utf-8")
61-
except IndexError:
61+
except ValueError:
6262
pass
6363
return p
6464
return None

0 commit comments

Comments
 (0)