diff --git a/sensorsafrica/management/commands/upload_to_ckan.py b/sensorsafrica/management/commands/upload_to_ckan.py index 375f5ca..249803b 100644 --- a/sensorsafrica/management/commands/upload_to_ckan.py +++ b/sensorsafrica/management/commands/upload_to_ckan.py @@ -95,7 +95,7 @@ def handle(self, *args, **options): month=calendar.month_name[date.month], year=date.year ) - filepath = "./temp/%s.csv" % resource_name.lower().replace(" ", "_") + filepath = "/tmp/%s.csv" % resource_name.lower().replace(" ", "_") self._write_file(filepath=filepath, qs=qs) self._create_or_update_resource(