fix handle_batch_import
This commit is contained in:
parent
9a1dc0240b
commit
57b2e2d4ab
|
@ -32,7 +32,7 @@ def handle_batch_import(batch_import: BatchImport):
|
||||||
r = requests.get(file_url)
|
r = requests.get(file_url)
|
||||||
lines = [line.decode() for line in r.iter_lines()]
|
lines = [line.decode() for line in r.iter_lines()]
|
||||||
|
|
||||||
import_from_csv(user, lines)
|
import_from_csv(batch_import, user, lines)
|
||||||
|
|
||||||
|
|
||||||
def import_from_csv(batch_import: BatchImport, user: User, lines):
|
def import_from_csv(batch_import: BatchImport, user: User, lines):
|
||||||
|
|
Loading…
Reference in New Issue