8000 fix string compare · teoland/python-sasctl@381001a · GitHub
[go: up one dir, main page]

Skip to content

Commit 381001a

Browse files
authored
fix string compare
case-insensitive comparison
1 parent 40793c4 commit 381001a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sasctl/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def get_version(x):
320320

321321
# As of Viya 3.4 the 'predictionVariable' parameter is not set during
322322
# project creation. Update the project if necessary.
323-
if model.get('function') == 'prediction': #Predications require predictionVariable
323+
if function == 'prediction': #Predications require predictionVariable
324324
project = mr.create_project(project, repo_obj,
325325
variables=vars,
326326
function=model.get('function'),

0 commit comments

Comments
 (0)
0