Bugfix: PyLoT could not cope with input file if not called pylot.in.

This commit is contained in:
Ludger Küperkoch 2017-05-24 10:12:12 +02:00
parent 92525732a3
commit 74b19ac094

View File

@ -178,6 +178,9 @@ class AutoPickParameter(object):
else:
return
if isinstance(fnin, (list, tuple)):
fnin = fnin[0]
inputFile = open(fnin, 'r')
try:
lines = inputFile.readlines()