Merge pull request #139 from ccppoo/patch-4

Update decensor.py
This commit is contained in:
deeppomf 2019-05-07 05:19:12 -04:00 committed by GitHub
commit 33b6e41690
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