[bugfix] self used in function (not method)

This commit is contained in:
Marcel Paffrath 2017-08-10 14:01:25 +02:00
parent 460af0e094
commit 4e6a6dc2a8

View File

@ -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