IATI / CSV2IATI

[DEPRECATED ] - A tool to convert CSVs to IATI XML
Other
5 stars 4 forks source link

Ubuntu path bug #198

Closed Bjwebb closed 2 years ago

Bjwebb commented 10 years ago

Reported via zendesk support. I've not had chance yet to verify

On Ubuntu 14.04 the following code in CSV2IATI-backend/csviati/__init__.py does not work:

UPLOAD_FILES_BASE = os.path.dirname(__file__) + '/'

But this does:

UPLOAD_FILES_BASE = os.path.dirname(os.path.abspath(__file__)) + '/'