- Traceback (most recent call last):
- File "secdb.py", line 175, in <module>
- build_database()
- File "secdb.py", line 18, in build_database
- getOther();
- File "secdb.py", line 115, in getOther
- print("%s, %s, %s, %s, %s, %s"%(name.decode('utf8'), asxCode.decode('utf8'), instrument.decode('utf8'), MER.decode('utf8'), opFee.decode('utf8'), listingDate.decode('utf8')));
- AttributeError: 'str' object has no attribute 'decode'