Update decensor.py

missing .format(color_file_path) in line 74
This commit is contained in:
ccppoo 2019-04-11 14:30:30 +09:00 committed by GitHub
parent f17061a876
commit 0b66b224af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,7 @@ class Decensor:
self.decensor_image(ori_img, colored_img, file_name)
break
else: #for...else, i.e if the loop finished without encountering break
print("Corresponding original, uncolored image not found in {}.")
print("Corresponding original, uncolored image not found in {}".format(color_file_path))
print("Check if it exists and is in the PNG or JPG format.")
else:
self.decensor_image(colored_img, colored_img, file_name)