Skip to content

Fixed extList2mimes function where mimes was used and overriden at the same time#1667

Open
GregOriol wants to merge 1 commit intomoxiecode:masterfrom
GregOriol:master
Open

Fixed extList2mimes function where mimes was used and overriden at the same time#1667
GregOriol wants to merge 1 commit intomoxiecode:masterfrom
GregOriol:master

Conversation

@GregOriol
Copy link

This is a quick fix to the extList2mimes function (which is not very useful, but anyway): in this function, the mimes variable declared above in the code is used with mimes[ext[ii]], but is also overridden locally with the same name. This make the type variable never correctly filled and the code failing to fill the mimes when needed. This PR fixes it.

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.

1 participant