8000 Fix _pfile error · srijan-deepsource/python-sasctl@b3ae67d · GitHub
[go: up one dir, main page]

Skip to content

Commit b3ae67d

Browse files
authored
Fix _pfile error
As noted in sassoftware#100, _pFile on line 180 of writeScoreCode.py was incorrectly written as _pfile.
1 parent 55b9ce0 commit b3ae67d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sasctl/pzmm/writeScoreCode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ def upload_and_copy_score_resources(model, files):
177177
elif isViya35 and not isH2OModel:
178178
cls.pyFile.write('''\n
179179
with open('/models/resources/viya/{modelID}/{modelFileName}', 'rb') as _pFile:
180-
_thisModelFit = pickle.load(_pfile)'''.format(modelID=modelID, modelFileName=modelFileName))
180+
_thisModelFit = pickle.load(_pFile)'''.format(modelID=modelID, modelFileName=modelFileName))
181181
elif not isViya35 and not isH2OModel:
182182
cls.pyFile.write('''\n
183183
with open(settings.pickle_path + '{modelFileName}', 'rb') as _pFile:

0 commit comments

Comments
 (0)
0