Update decensor.py

This commit is contained in:
ccppoo 2019-05-07 13:22:07 +09:00 committed by GitHub
parent cdb6e7fe39
commit e6f347407e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -93,7 +93,8 @@ class Decensor:
print("--------------------------------------------------------------------------")
print("Iregular file deteced : "+str(color_file_path))
print("--------------------------------------------------------------------------")
file.error_messages(self.files_removed)
if(self.files_removed is not None):
file.error_messages(None, self.files_removed)
input("\nPress anything to end...")
#decensors one image at a time