Skip to content

Conversation

@hannob
Copy link
Contributor

@hannob hannob commented Mar 30, 2025

The example code in the README no longer works with the latest version. A similar example in
https://github.com/pretix/python-drafthorse/blob/master/tests/conftest.py exists, and uses a Decimal for
doc.trade.settlement.monetary_summation.tax_total
instead of a tuple.
Change README example to do that as well.

Also, remove an unused import ("import os").

Bug: #66

The example code in the README no longer works with the latest version.
A similar example in
https://github.com/pretix/python-drafthorse/blob/master/tests/conftest.py
exists, and uses a Decimal for
doc.trade.settlement.monetary_summation.tax_total
instead of a tuple.
Change README example to do that as well.

Also, remove an unused import ("import os").

Bug: pretix#66
@raphaelm raphaelm merged commit 60822ef into pretix:master Apr 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants