Closed edwinmp closed 1 year ago
Internal Server Error: /resources/lnob-assessment-in-nepal-data-landscaping-in-simta-municipality/ AttributeError at /resources/lnob-assessment-in-nepal-data-landscaping-in-simta-municipality/ 'NoneType' object has no attribute 'title' ...... Traceback (most recent call last): File "/code/di_website/common/templatetags/string_utils.py", line 140, in file_info return '%s %s' % (os.path.splitext(file.url)[1][1:].upper(), sizeof_fmt(file.file.size))
To avoid the above error, all usages of file_info & file_label should be preceded by a file_exists check.
To avoid the above error, all usages of file_info & file_label should be preceded by a file_exists check.