mirror of
https://github.com/ldericher/fftcgtool
synced 2025-01-15 15:02:59 +00:00
typo
This commit is contained in:
parent
514b41ce20
commit
349e7970d5
2 changed files with 4 additions and 4 deletions
|
@ -30,9 +30,9 @@ subcommands:
|
||||||
Also, `pipenv` should be installed for that python version.
|
Also, `pipenv` should be installed for that python version.
|
||||||
Refer to [pipenv installation guide](https://pipenv.pypa.io/en/latest/install/) if needed.
|
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.
|
2. To install `fftcgtool` dependencies, run `pipenv install --deploy` from project root directory.
|
||||||
3. Run `pipenv run ./main.py` from project root directory.
|
3. Run `pipenv run ./fftcgtool.py` from project root directory.
|
||||||
4. You can `alias fftcgtool='PIPENV_PIPFILE="'$(pwd)'/Pipfile" pipenv run "'$(pwd)'/main.py"'` from
|
4. You can `alias fftcgtool='PIPENV_PIPFILE="'$(pwd)'/Pipfile" pipenv run "'$(pwd)'/fftcgtool.py"'` from project root
|
||||||
project root directory to define `fftcgtool` shorthand for your running shell.
|
directory to define `fftcgtool` shorthand for your running shell.
|
||||||
|
|
||||||
### Run using a `docker` container
|
### Run using a `docker` container
|
||||||
|
|
||||||
|
|
|
@ -163,7 +163,7 @@ def main() -> None:
|
||||||
for deck in decks:
|
for deck in decks:
|
||||||
zip_file.writestr(deck.file_name, deck.get_json(args.language))
|
zip_file.writestr(deck.file_name, deck.get_json(args.language))
|
||||||
|
|
||||||
# write zip file to stdout
|
# write buffer to stdout
|
||||||
buffer.seek(0)
|
buffer.seek(0)
|
||||||
with open(sys.stdout.fileno(), "wb", closefd=False, buffering=0) as stdout:
|
with open(sys.stdout.fileno(), "wb", closefd=False, buffering=0) as stdout:
|
||||||
stdout.write(buffer.read())
|
stdout.write(buffer.read())
|
||||||
|
|
Loading…
Reference in a new issue