mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 18:36:12 +02:00
FIX check_path calls, from user bug report
This commit is contained in:
parent
610d3d6c2e
commit
a905ac7521
@ -412,7 +412,7 @@ def load_data():
|
||||
import pgloader.options
|
||||
if pgloader.options.REFORMAT_PATH:
|
||||
rpath = read_path(pgloader.options.REFORMAT_PATH, check = False)
|
||||
crpath = check_path(rpath, VERBOSE)
|
||||
crpath = check_path(rpath, log)
|
||||
else:
|
||||
rpath = crpath = None
|
||||
|
||||
@ -425,7 +425,7 @@ def load_data():
|
||||
else:
|
||||
default_rpath = pgloader.options.DEFAULT_REFORMAT_PATH
|
||||
|
||||
pgloader.options.REFORMAT_PATH = check_path(default_rpath, VERBOSE)
|
||||
pgloader.options.REFORMAT_PATH = check_path(default_rpath, log)
|
||||
else:
|
||||
pgloader.options.REFORMAT_PATH = rpath
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user