From 0a66a68db8630e5012a3b4a03db37e862410c628 Mon Sep 17 00:00:00 2001 From: bbielsa Date: Wed, 17 Nov 2021 20:41:23 -0500 Subject: [PATCH] Move require statement to the correct file --- src/invidious/helpers/utils.cr | 2 -- src/invidious/user/imports.cr | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/invidious/helpers/utils.cr b/src/invidious/helpers/utils.cr index 8bf6b272..8453d605 100644 --- a/src/invidious/helpers/utils.cr +++ b/src/invidious/helpers/utils.cr @@ -1,5 +1,3 @@ -require "csv" - # See http://www.evanmiller.org/how-not-to-sort-by-average-rating.html def ci_lower_bound(pos, n) if n == 0 diff --git a/src/invidious/user/imports.cr b/src/invidious/user/imports.cr index 0ea554bd..836da14d 100644 --- a/src/invidious/user/imports.cr +++ b/src/invidious/user/imports.cr @@ -1,3 +1,5 @@ +require "csv" + def parse_subscription_export_csv(csv_content : String) rows = CSV.new(csv_content, headers: true) subscriptions = Array(String).new