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

Common get_file_type function #401

Merged
merged 2 commits into from
Nov 19, 2023
Merged

Conversation

paul-gatewood
Copy link
Contributor

Since the same pattern was used in several places to remove the version from the file_type, I made a common function in utils.py and added a comment about its use.

@olofk olofk merged commit 0dad9a4 into olofk:main Nov 19, 2023
7 checks passed
@olofk
Copy link
Owner

olofk commented Nov 19, 2023

Yeah, that's better. Thanks! Hadn't seen that enumerate trick before. Took a moment to realize how it worked :)

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