Slightly simplify non-poetry invocation in README

This commit is contained in:
Adam Goldsmith 2022-10-28 15:54:58 -04:00
parent 88b2610513
commit 2570aa3620
2 changed files with 4 additions and 1 deletions

View File

@ -12,7 +12,7 @@ Many of the scripts use data from a `config.yaml` in the current working directo
## Scripts
The primary entry points have scripts entries (`tool.poetry.scripts`) in [`pyproject.toml`](./pyproject.toml). They assume that they are being run from a module, so must be run with `poetry run <script>` or `python -m memberPlumbing.<script> main`.
The primary entry points have scripts entries (`tool.poetry.scripts`) in [`pyproject.toml`](./pyproject.toml). They assume that they are being run from a module, so must be run with `poetry run <script>` or `python -m memberPlumbing.<script>`.
### `doorUpdater`

View File

@ -39,6 +39,9 @@ def do_import(config):
# create/update member
Member.from_csv_dict(member).magic_save()
if member["Account Name"] == "Adam Goldsmith":
print(member)
# update member's flags
for type, flags in membershipworks._parse_flags().items():
if type != "folders": # currently no way to retrieve this info