mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-22 21:08:07 +01:00
Fix for Import issue from URL (#1416)
This commit is contained in:
parent
8bdf02812c
commit
e30bbb1cb0
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ class ImportWorker
|
|||
def process_blocks(import)
|
||||
from_account = import.account
|
||||
|
||||
CSV.foreach(import.data.path) do |row|
|
||||
CSV.new(open(import.data.url)).each do |row|
|
||||
next if row.size != 1
|
||||
|
||||
begin
|
||||
|
@ -41,7 +41,7 @@ class ImportWorker
|
|||
def process_follows(import)
|
||||
from_account = import.account
|
||||
|
||||
CSV.foreach(import.data.path) do |row|
|
||||
CSV.new(open(import.data.url)).each do |row|
|
||||
next if row.size != 1
|
||||
|
||||
begin
|
||||
|
|
Loading…
Reference in a new issue