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

AzureClipStorage breaks if one directory name is prefix of another #52

Open
halcy opened this issue Jan 13, 2022 · 0 comments
Open

AzureClipStorage breaks if one directory name is prefix of another #52

halcy opened this issue Jan 13, 2022 · 0 comments

Comments

@halcy
Copy link
Contributor

halcy commented Jan 13, 2022

AzureClipStorage currently lists clips by getting all files where the file name starts with a certain string:

name_starts_with=self.clips_path)

If there are two directories named "something/xyz" and "something/xyz_abc", then this will cause the script to also enumerate files from the second directory when looking for files from the first (which causes the script to crash). While easy to work around, this seems unintended, and should probably be changed.

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

No branches or pull requests

1 participant