Skip to content

Commit f83393a

Browse files
committed
Check for None before lazily loading parans
1 parent 6ed85a0 commit f83393a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gp/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ def make_job_spec(self):
608608
:return: Returns a GPJobSpec used to launch a job of this task type
609609
"""
610610
# If the parameters haven't been loaded yet, do so
611-
if not self._params_loaded:
611+
if not self._params_loaded and self.server_data is not None:
612612
self.param_load()
613613

614614
return GPJobSpec(self.server_data, self.lsid)

0 commit comments

Comments
 (0)