Message359919
imghdr module has a cli that can display the image type for a given filename and also recurse through directories. I would like to propose following changes :
* Add tests for the imghdr cli.
* The cli uses hardcoded '/' separator in the end for directories this is a minor issue with windows where the separators are \ and the last separator is displayed with / like c:\Foo\Bar\Spam/ . Using os.sep can be a better option here.
I have a PR that I will add shortly for review. |
|
Date |
User |
Action |
Args |
2020-01-13 16:42:19 | xtreak | set | recipients:
+ xtreak |
2020-01-13 16:42:19 | xtreak | set | messageid: <1578933739.07.0.811706238675.issue39323@roundup.psfhosted.org> |
2020-01-13 16:42:19 | xtreak | link | issue39323 messages |
2020-01-13 16:42:18 | xtreak | create | |
|