From 80f0c397b1f511ed2160d496ae1b8cfe0061e976 Mon Sep 17 00:00:00 2001 From: deeppomf Date: Thu, 31 Oct 2019 18:24:49 -0400 Subject: [PATCH] Disable CLI --- decensor.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/decensor.py b/decensor.py index bdc2a77..a0c1f3d 100755 --- a/decensor.py +++ b/decensor.py @@ -324,7 +324,7 @@ class Decensor(QtCore.QThread): else: print(text) -if __name__ == '__main__': - decensor = Decensor() - decensor.decensor_all_images_in_folder() +# if __name__ == '__main__': + # decensor = Decensor() + # decensor.decensor_all_images_in_folder() # equivalent to decensor.start() (running as QtThread)