From baa981e4cc855460d6a809faefe6049c5494fd4b Mon Sep 17 00:00:00 2001 From: Aurelien Rebourg Date: Thu, 27 Apr 2023 18:49:29 +0200 Subject: [PATCH] create blockchain if not exists on load --- bscli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bscli.py b/bscli.py index 5aea8be..a9a4279 100644 --- a/bscli.py +++ b/bscli.py @@ -80,7 +80,7 @@ def init(difficulty): startShell() @cli.command() -@click.argument("filename", type=click.Path(exists=True)) +@click.argument("filename", type=click.Path()) @click.option("--difficulty", default=3, help="Define difficulty level of blockchain.") def load(filename, difficulty): """Load blockchain from file"""