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

some platforms/builds don't accept listdir arg #120

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tumukei
Copy link

@tumukei tumukei commented Nov 21, 2019

No description provided.

try:
return os.listdir(dirname)
except TypeError:
return os.listdir()
Copy link
Collaborator

Choose a reason for hiding this comment

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

It would be good to mention any known platforms which don't accept arguments.

Copy link
Author

Choose a reason for hiding this comment

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

Atleast nrf pca10056.

@dhylands dhylands force-pushed the master branch 3 times, most recently from 1861b2d to a28df4c Compare March 20, 2020 23:26
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