Slightly simplify non-poetry invocation in README
This commit is contained in:
parent
88b2610513
commit
2570aa3620
@ -12,7 +12,7 @@ Many of the scripts use data from a `config.yaml` in the current working directo
|
|||||||
|
|
||||||
## Scripts
|
## 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`
|
### `doorUpdater`
|
||||||
|
|
||||||
|
@ -39,6 +39,9 @@ def do_import(config):
|
|||||||
# create/update member
|
# create/update member
|
||||||
Member.from_csv_dict(member).magic_save()
|
Member.from_csv_dict(member).magic_save()
|
||||||
|
|
||||||
|
if member["Account Name"] == "Adam Goldsmith":
|
||||||
|
print(member)
|
||||||
|
|
||||||
# update member's flags
|
# update member's flags
|
||||||
for type, flags in membershipworks._parse_flags().items():
|
for type, flags in membershipworks._parse_flags().items():
|
||||||
if type != "folders": # currently no way to retrieve this info
|
if type != "folders": # currently no way to retrieve this info
|
||||||
|
Reference in New Issue
Block a user