diff --git a/pylot/core/pick/utils.py b/pylot/core/pick/utils.py index 8cad1889..41a5509a 100644 --- a/pylot/core/pick/utils.py +++ b/pylot/core/pick/utils.py @@ -715,7 +715,7 @@ def checksignallength(X, pick, TSNR, minsiglength, nfac, minpercent, iplot=0, fi plt_flag = 0 try: - iplot = int(self.iplot) + iplot = int(iplot) except: if iplot == True or iplot == 'True': iplot = 2