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

Removed walrus operators #4

Merged
merged 1 commit into from
Dec 6, 2022

Conversation

Aquafina-water-bottle
Copy link
Contributor

@Aquafina-water-bottle Aquafina-water-bottle commented Dec 6, 2022

There was a comment on #3 that says:

I'm having the a similar issue as well. Running Anki 2.1.54 qt5 on Windows 10 Pro x64.

image

I have the same issue, and I found that removing the walrus operator fixes it. I'm not actually sure why it does, given the fact that:

  • We are both running Anki 2.1.54 (granted, mine is qt6, and I'm running this on Xubuntu 20.04 and not Windows),
  • Anki 2.1.54's Python version should be 3.9, and
  • Walrus operators are introduced in 3.8,

but it fixes it somehow nonetheless 🤷

@tatsumoto-ren
Copy link
Member

That's not the walrus operator. Apparently the official binary bundle disables asserts. No idea why they do it though.

@tatsumoto-ren tatsumoto-ren merged commit 3e55b4b into Ajatt-Tools:main Dec 6, 2022
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