Bugfix: PyLoT could not cope with input file if not called pylot.in.
This commit is contained in:
parent
92525732a3
commit
74b19ac094
@ -178,6 +178,9 @@ class AutoPickParameter(object):
|
|||||||
else:
|
else:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if isinstance(fnin, (list, tuple)):
|
||||||
|
fnin = fnin[0]
|
||||||
|
|
||||||
inputFile = open(fnin, 'r')
|
inputFile = open(fnin, 'r')
|
||||||
try:
|
try:
|
||||||
lines = inputFile.readlines()
|
lines = inputFile.readlines()
|
||||||
|
Loading…
Reference in New Issue
Block a user