[bugfix] wrong usage of instrinsic function list()

This commit is contained in:
Marcel Paffrath 2017-07-17 11:50:51 +02:00
parent 7f0ab4dd94
commit 7e0f4efbcc
3 changed files with 3 additions and 2 deletions

View File

@ -1113,6 +1113,7 @@ class MainWindow(QMainWindow):
# elif ret == QMessageBox.Cancel:
# return False
# MP MP changed to suppress unnecessary user prompt
fcheck = ['manual', 'origins', 'magnitude']
try:
self.get_data().exportEvent(fbasename, exform, fcheck='manual',
upperErrors=[uppererrorP[3], uppererrorS[3]])

View File

@ -1 +1 @@
b286-dirty
7f0a-dirty

View File

@ -196,7 +196,7 @@ class Data(object):
from pylot.core.util.defaults import OUTPUTFORMATS
if not type(fcheck)==list:
fcheck=list(fcheck)
fcheck=[fcheck]
try:
evtformat = OUTPUTFORMATS[fnext]