Disable CLI

This commit is contained in:
deeppomf 2019-10-31 18:24:49 -04:00
parent 2c2795d9be
commit 80f0c397b1

View File

@ -324,7 +324,7 @@ class Decensor(QtCore.QThread):
else: else:
print(text) print(text)
if __name__ == '__main__': # if __name__ == '__main__':
decensor = Decensor() # decensor = Decensor()
decensor.decensor_all_images_in_folder() # decensor.decensor_all_images_in_folder()
# equivalent to decensor.start() (running as QtThread) # equivalent to decensor.start() (running as QtThread)