Output warnings about skipping filename to stderr
Considering that the output of this script is typically redirected, it really doesn't make sense to send error messages to the generated .c file.
This commit is contained in:
parent
a958683071
commit
ff206213aa
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ for path in sys.argv[1:]:
|
|||
|
||||
# Allow only filenames that make sense as C variable names
|
||||
if not(m):
|
||||
print("Skipped file (unsuitable filename): " + filename)
|
||||
print("Skipped file (unsuitable filename): " + filename, file=sys.stderr)
|
||||
continue
|
||||
|
||||
# Read PNG file as character array
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue