Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WebHost: Fix as_dict attribute error #1977

Merged
merged 2 commits into from
Jul 15, 2023

Conversation

Zunawe
Copy link
Collaborator

@Zunawe Zunawe commented Jul 15, 2023

What is this fixing or adding?

Moves conversion of server options to dict to avoid causing an AttributeError when baked_server_options is not None. Introduced in 827444f

How was this tested?

Running the webhost locally and generating a couple seeds.

Main.py Show resolved Hide resolved
Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>
Copy link
Member

@black-sliver black-sliver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@black-sliver black-sliver merged commit 8df08b5 into ArchipelagoMW:main Jul 15, 2023
12 checks passed
Dragion147 added a commit to YutskiLGC/Archipelago that referenced this pull request Jul 16, 2023
WebHost: Fix as_dict attribute error (ArchipelagoMW#1977)
Dragion147 added a commit to YutskiLGC/Archipelago that referenced this pull request Jul 16, 2023
WebHost: Fix as_dict attribute error (ArchipelagoMW#1977)
@ThePhar ThePhar added is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs. affects: webhost Issues/PRs that touch webhost and may need additional validation. labels Jul 19, 2023
@Zunawe Zunawe deleted the attribute-error-fix branch July 25, 2023 20:06
FlySniper pushed a commit to FlySniper/Archipelago that referenced this pull request Nov 14, 2023
* WebHost: Fix as_dict attribute error

Introduced in 827444f

* WebHost: Add assertion that baked_server_options is a dict

Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>

---------

Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>
kl3cks7r pushed a commit to kl3cks7r/Archipelago that referenced this pull request Dec 15, 2023
* WebHost: Fix as_dict attribute error

Introduced in 827444f

* WebHost: Add assertion that baked_server_options is a dict

Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>

---------

Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>
Jouramie pushed a commit to Jouramie/Archipelago that referenced this pull request Feb 28, 2024
* WebHost: Fix as_dict attribute error

Introduced in 827444f

* WebHost: Add assertion that baked_server_options is a dict

Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>

---------

Co-authored-by: black-sliver <59490463+black-sliver@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects: webhost Issues/PRs that touch webhost and may need additional validation. is: bug/fix Issues that are reporting bugs or pull requests that are fixing bugs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants