1
0
Fork 0

Update tools/wasptool

Co-authored-by: Francesco Gazzetta <fgaz@fgaz.me>
Signed-off-by: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com>
This commit is contained in:
thiswillbeyourgithub 2023-09-27 11:01:34 +00:00 committed by Daniel Thompson
parent ee257d6ade
commit 43eb3f3980

View file

@ -457,10 +457,7 @@ if __name__ == '__main__':
handle_eval(console, args.eval)
if args.pull:
if args.file_as is None:
handle_binary_download(console, args.pull, args.pull)
else:
handle_binary_download(console, args.pull, args.file_as)
handle_binary_download(console, args.pull, args.file_as or args.pull)
if args.push:
handle_binary_upload(console, args.push, args.push)