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

Do not show media auto sync errors #3197

Merged
merged 4 commits into from
May 17, 2024
Merged

Conversation

abdnh
Copy link
Contributor

@abdnh abdnh commented May 12, 2024

Closes #3130

qt/aqt/main.py Outdated Show resolved Hide resolved
@dae
Copy link
Member

dae commented May 15, 2024

Sorry, I think the terminology here may be confusing.

The "autosync" setting is about syncing on program open/close. The issue on #3130 was about errors popping up when the "periodically sync media" option is enabled - the one run by on_autosync_timer(). We want to show errors for the former, but not for the latter.

@dae
Copy link
Member

dae commented May 15, 2024

...so confusing that I appear to have confused myself. ^_^; I now see that you're only passing in True in _maybe_auto_sync_media. So it looks like this is already ok? It might be nice to rename is_autosync to is_periodic_sync to hopefully avoid confusion in the future.

@dae
Copy link
Member

dae commented May 17, 2024

Thanks Abdo!

@dae dae merged commit ef49e3f into ankitects:main May 17, 2024
1 check passed
@abdnh abdnh deleted the media-auto-sync-errors branch May 17, 2024 09:29
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.

Media auto sync: "connection closed before message completed⁩"
2 participants