Skip to content

Commit ca0bc5c

Browse files
karimkawambwaDavidLemayian
authored andcommitted
fix sensorsafrica.tasks.archive_data (#32)
1 parent 2ddd656 commit ca0bc5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sensorsafrica/management/commands/upload_to_ckan.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def handle(self, *args, **options):
9595
month=calendar.month_name[date.month], year=date.year
9696
)
9797

98-
filepath = "./temp/%s.csv" % resource_name.lower().replace(" ", "_")
98+
filepath = "/tmp/%s.csv" % resource_name.lower().replace(" ", "_")
9999

100100
self._write_file(filepath=filepath, qs=qs)
101101
self._create_or_update_resource(

0 commit comments

Comments
 (0)