aboutsummaryrefslogtreecommitdiff
path: root/backend/data/genImgsForWeb.py
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-05-28 12:15:54 +1000
committerTerry Truong <terry06890@gmail.com>2022-05-28 12:15:54 +1000
commitc547ba59906bdd0ccebe5d4592739227dd0c73eb (patch)
tree99e35a5c0edd4c473b3b760a2d1cc75153572b6b /backend/data/genImgsForWeb.py
parent9f0dcdea1049a59cd1fb4f0872edee1b7a87a4e6 (diff)
Convert from python "...".format() to f"..."
Diffstat (limited to 'backend/data/genImgsForWeb.py')
-rwxr-xr-xbackend/data/genImgsForWeb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/data/genImgsForWeb.py b/backend/data/genImgsForWeb.py
index 91a1cde..9db260f 100755
--- a/backend/data/genImgsForWeb.py
+++ b/backend/data/genImgsForWeb.py
@@ -76,7 +76,7 @@ for i in range(inputImgIdx, len(inputImgList)):
imgName = inputImgList[i]
[eolIdStr, otherStr] = imgName.split(" ")
contentId = int(otherStr.split(".")[0])
- print("Converting {}".format(imgName))
+ print(f"Converting {imgName}")
subprocess.run(
['npx', 'smartcrop-cli',
'--width', str(IMG_OUT_SZ),