Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #756 from Ruijian-Zha/main
I'm considering merging this, but maybe there is a more appropriate place to make the fix. Both the gui and the terminal file selectors (I don't know which one you are using) are supposed to return List[str], and clearly they don't. Can you do the convert to string already in the selector functions and then maybe do a test on all created strings that they indeed are valid paths, along the lines of: def is_valid_path(path: str) -> bool: try: os.stat(path) return True except OSError: return False
- Loading branch information