Skip to content

Commit

Permalink
updated path, previously encountered issues with remote permissions (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
davidcam-src authored Oct 11, 2024
1 parent ca9b29e commit 8f4c863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/dissertations_page_count.rake
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ namespace :dissertations do

def write_to_csv(all_processed_dissertations, year)
total_pages_all = 0
path = File.join(Rails.configuration.log_directory, year ? "dissertations_page_count_#{year}.csv" : 'dissertations_page_count_all.csv')
path = File.join('/tmp', year ? "dissertations_page_count_#{year}.csv" : 'dissertations_page_count_all.csv')
# Write the processed dissertations to a CSV file
CSV.open(path, 'w') do |csv|
# Write CSV headers
Expand Down

0 comments on commit 8f4c863

Please sign in to comment.