@@ -152,7 +152,7 @@ class HledgerBankEntry(HledgerEntry):
for fn in fns:
try:
third_code = fn(e)
- if third_code is None or not isinstance(third_code, str):
+ if third_code is None or not isinstance(third_code, basestring):
third_code = ""
except: