imgkit icon indicating copy to clipboard operation
imgkit copied to clipboard

INFO: Could not find files for the given pattern(s)

Open machineonamission opened this issue 4 years ago • 1 comments

https://github.com/jarrekk/imgkit/blob/c5fb49ae1e1544c78bf500768c2b14105fe731cd/imgkit/config.py#L15-L27

Lines 15-27 in config.py have an issue, due to the lack of an stderr argument, it ALWAYS prints the stderr to console. This, for me, printed the message INFO: Could not find files for the given pattern(s). Adding stderr=subprocess.DEVNULL to each subprocess.Popen fixed it.

machineonamission avatar Jan 13 '21 16:01 machineonamission

@HexCodeFFF good suggestion, could you create a PR?

jarrekk avatar Mar 13 '21 14:03 jarrekk