Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/stdnum/be/iban.py
diff options
context:
space:
mode:
Diffstat (limited to 'stdnum/be/iban.py')
-rw-r--r--stdnum/be/iban.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/stdnum/be/iban.py b/stdnum/be/iban.py
index ca740db..83c3669 100644
--- a/stdnum/be/iban.py
+++ b/stdnum/be/iban.py
@@ -74,9 +74,7 @@ def info(number):
def to_bic(number):
"""Return the BIC for the bank that this number refers to."""
- bic = info(number).get('bic')
- if bic:
- return str(bic)
+ return info(number).get('bic')
def validate(number):