From 4e6a6dc2a845a755674370913947af69cb032e9b Mon Sep 17 00:00:00 2001 From: marcel Date: Thu, 10 Aug 2017 14:01:25 +0200 Subject: [PATCH] [bugfix] self used in function (not method) --- pylot/core/pick/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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