Skip to content

Comments

Fix polybar module updater coroutine error#66

Open
griwes wants to merge 1 commit intoinfokiller:masterfrom
griwes:patch-1
Open

Fix polybar module updater coroutine error#66
griwes wants to merge 1 commit intoinfokiller:masterfrom
griwes:patch-1

Conversation

@griwes
Copy link

@griwes griwes commented Sep 9, 2025

Fixes #65

The script for the updater was calling main, but main is a coroutine... fixed that by changing main to be a synchronous function.

await i3.main()

def main():
asyncio.run(main())
Copy link

Choose a reason for hiding this comment

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

@griwes you're recursing here - need to call main_async()

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.

i3-groups-polybar-module-updater: RuntimeWarning: coroutine 'main' was never awaited

2 participants