Skip to content

Commit

Permalink
fix: '_io.BytesIO' object has no attribute 'name' in paginator (Pycor…
Browse files Browse the repository at this point in the history
…d-Development#1869)

* Update pagination.py

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update discord/ext/pages/pagination.py

Co-authored-by: BobDotCom <71356958+BobDotCom@users.noreply.github.com>
Signed-off-by: Mateusz <61660055+yoggys@users.noreply.github.com>

* Update discord/ext/pages/pagination.py

Co-authored-by: BobDotCom <71356958+BobDotCom@users.noreply.github.com>
Signed-off-by: Mateusz <61660055+yoggys@users.noreply.github.com>

* update changelog

* move to correct section

* fix: add __future__.annotations import

Fixes compatibility with older python versions

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* Update CHANGELOG.md

Signed-off-by: BobDotCom <71356958+BobDotCom@users.noreply.github.com>

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

Signed-off-by: Mateusz <61660055+yoggys@users.noreply.github.com>
Signed-off-by: BobDotCom <71356958+BobDotCom@users.noreply.github.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: BobDotCom <71356958+BobDotCom@users.noreply.github.com>
  • Loading branch information
3 people authored Jan 11, 2023
1 parent ce16709 commit 767635f
Show file tree
Hide file tree
Showing 2 changed files with 123 additions and 127 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ These changes are available on the `master` branch, but have not yet been releas
- Changed `EmbeddedActivity` values to update accordingly with the new activities.
([#1859](https://github.com/Pycord-Development/pycord/pull/1859))

### Fixed

- Fixed a bug in `Page.update_files` where file objects stored in memory were causing an
`AttributeError`. ([#1869](https://github.com/Pycord-Development/pycord/pull/1869))

## [2.3.2] - 2022-12-03

### Fixed
Expand Down
Loading

0 comments on commit 767635f

Please sign in to comment.