fix: use source before changing its contents
Signed-off-by: Akhil Narang <me@akhilnarang.dev>
This commit is contained in:
parent
b010dc584f
commit
76c9fbd0cd
1 changed files with 1 additions and 1 deletions
|
|
@ -63,8 +63,8 @@ class DbManager:
|
|||
|
||||
if source.endswith(".gz"):
|
||||
if gzip := which("gzip"):
|
||||
source = []
|
||||
command.extend([gzip, "-cd", source, "|"])
|
||||
source = []
|
||||
if pv:
|
||||
command.extend([pv, "|"])
|
||||
print("Restoring Database file...")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue