summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
author오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>2019-07-15 13:36:06 +0900
committerGitHub Enterprise <noreply-CODE@samsung.com>2019-07-15 13:36:06 +0900
commitcb460e0758b360f0c19ecacc88b4994fcf2b4843 (patch)
tree298b491b3518c278f82a995188b527514bc045ad /tools
parente2dba8cffe7f3d81c095a50772cd6606f7dd113c (diff)
downloadnnfw-cb460e0758b360f0c19ecacc88b4994fcf2b4843.tar.gz
nnfw-cb460e0758b360f0c19ecacc88b4994fcf2b4843.tar.bz2
nnfw-cb460e0758b360f0c19ecacc88b4994fcf2b4843.zip
Fix pylint warning in image importer (#5631)
Fix pylint warning for print syntax in image importer Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/image_importer/image_importer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/image_importer/image_importer.py b/tools/image_importer/image_importer.py
index 77508e1b6..f849e8879 100755
--- a/tools/image_importer/image_importer.py
+++ b/tools/image_importer/image_importer.py
@@ -25,9 +25,9 @@ if (len(sys.argv) < 3):
img = Image.open(sys.argv[1])
outfile = sys.argv[2]
-print "Image format = ", img.bits, img.size, img.format
+print("Image format = ", img.bits, img.size, img.format)
with open(outfile, 'wb') as f:
f.write(img.tobytes())
-print "Done."
+print("Done.")