imgkit
imgkit copied to clipboard
INFO: Could not find files for the given pattern(s)
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.
@HexCodeFFF good suggestion, could you create a PR?