Skip to content

Conversation

@CendioZeijlon
Copy link
Contributor

PosixPath-objects aren't iterable and we need to call the iterdir()-method if we want to loop over files in the current dir-Path.

This fixes #612.

PosixPath-objects aren't iterable and we need to call the
iterdir()-method if we want to loop over files in the current dir-Path

Closes novnc#612
@CendioZeijlon CendioZeijlon force-pushed the pathlib-loop-over-files branch from 4de3f49 to 22eaccd Compare July 1, 2025 12:38
@CendioZeijlon CendioZeijlon merged commit b925f78 into novnc:master Jul 1, 2025
8 checks passed
@CendioZeijlon CendioZeijlon deleted the pathlib-loop-over-files branch July 1, 2025 12:42
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.

token_plugins.py throws exception: handler exception: 'PosixPath' object is not iterable

2 participants