fix: Sider + improper command ending
This commit is contained in:
parent
84e2fcd6a8
commit
3b5ec6aa88
1 changed files with 1 additions and 2 deletions
|
|
@ -35,7 +35,6 @@ def bootstrap_database(db_name, verbose, source_sql=None):
|
|||
sys.exit(1)
|
||||
|
||||
def import_db_from_sql(source_sql=None, verbose=False):
|
||||
from shlex import split
|
||||
from shutil import which
|
||||
from subprocess import run, PIPE
|
||||
|
||||
|
|
@ -59,7 +58,7 @@ def import_db_from_sql(source_sql=None, verbose=False):
|
|||
if pv:
|
||||
command = f"{pv} {source_sql} | " + _command
|
||||
else:
|
||||
command = _command + f"-f {source_sql}"
|
||||
command = _command + f" -f {source_sql}"
|
||||
|
||||
print("Restoring Database file...")
|
||||
if verbose:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue