From 349e7970d5d4cfc9b0465716b0be7850663d681c Mon Sep 17 00:00:00 2001 From: LDericher <40151420+ldericher@users.noreply.github.com> Date: Fri, 3 Sep 2021 05:46:56 +0200 Subject: [PATCH] typo --- README.md | 6 +++--- fftcgtool.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a79807b..d20e2b1 100644 --- a/README.md +++ b/README.md @@ -30,9 +30,9 @@ subcommands: Also, `pipenv` should be installed for that python version. Refer to [pipenv installation guide](https://pipenv.pypa.io/en/latest/install/) if needed. 2. To install `fftcgtool` dependencies, run `pipenv install --deploy` from project root directory. -3. Run `pipenv run ./main.py` from project root directory. -4. You can `alias fftcgtool='PIPENV_PIPFILE="'$(pwd)'/Pipfile" pipenv run "'$(pwd)'/main.py"'` from - project root directory to define `fftcgtool` shorthand for your running shell. +3. Run `pipenv run ./fftcgtool.py` from project root directory. +4. You can `alias fftcgtool='PIPENV_PIPFILE="'$(pwd)'/Pipfile" pipenv run "'$(pwd)'/fftcgtool.py"'` from project root + directory to define `fftcgtool` shorthand for your running shell. ### Run using a `docker` container diff --git a/fftcgtool.py b/fftcgtool.py index 6a91124..d12ae2f 100755 --- a/fftcgtool.py +++ b/fftcgtool.py @@ -163,7 +163,7 @@ def main() -> None: for deck in decks: zip_file.writestr(deck.file_name, deck.get_json(args.language)) - # write zip file to stdout + # write buffer to stdout buffer.seek(0) with open(sys.stdout.fileno(), "wb", closefd=False, buffering=0) as stdout: stdout.write(buffer.read())