diff --git a/pylot/core/pick/utils.py b/pylot/core/pick/utils.py index 3fbb119c..a65e8580 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