Skip to content

Commit

Permalink
fix sensorsafrica.tasks.archive_data (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
karimkawambwa authored and DavidLemayian committed Apr 15, 2019
1 parent 2ddd656 commit ca0bc5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sensorsafrica/management/commands/upload_to_ckan.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit ca0bc5c

Please sign in to comment.