Comment Comment by mudiadamz You can just replace it with something like: print ('Invalid thresh or something') parent mudiadamz 2 years ago