From e6f347407ef4f3b5e6581c93573a1e623aa44daf Mon Sep 17 00:00:00 2001 From: ccppoo Date: Tue, 7 May 2019 13:22:07 +0900 Subject: [PATCH] Update decensor.py --- decensor.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/decensor.py b/decensor.py index ec2a871..a720e59 100644 --- a/decensor.py +++ b/decensor.py @@ -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