diff --git a/src/dune/__main__.py b/src/dune/__main__.py index bb7af87a..b7a7c552 100644 --- a/src/dune/__main__.py +++ b/src/dune/__main__.py @@ -148,7 +148,7 @@ elif args.send_action is not None: dune_sys.send_action(args.send_action[1], args.send_action[0], args.send_action[2], args.send_action[3]) - + elif args.get_table is not None: dune_sys.get_table(args.get_table[0], args.get_table[1], args.get_table[2]) diff --git a/src/dune/dune.py b/src/dune/dune.py index a072e65f..e139a215 100644 --- a/src/dune/dune.py +++ b/src/dune/dune.py @@ -349,8 +349,8 @@ def export_wallet(self): self._docker.tar_dir("wallet", "_wallet") self._docker.cp_to_host("/app/wallet.tgz", "wallet.tgz") - def import_wallet(self, d): - self._docker.cp_from_host(d, "wallet.tgz") + def import_wallet(self, path): + self._docker.cp_from_host(path, "wallet.tgz") self._docker.untar("wallet.tgz") self._docker.execute_cmd(["mv", "_wallet/.wallet.pw", "/app"]) self._docker.execute_cmd(["mv", "_wallet", "/root"])