Skip to content

Commit 6796bbb

Browse files
committed
silly triple double equals language differences
1 parent e916c43 commit 6796bbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scaleapi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def tasks(self, **kwargs):
114114

115115

116116
def _AddTaskTypeCreator(name):
117-
endpoint = 'task/' + ('categorize' if name === 'categorization' else name)
117+
endpoint = 'task/' + ('categorize' if name == 'categorization' else name)
118118
def createTask(self, **kwargs):
119119
taskdata = self._postrequest(endpoint, payload=kwargs)
120120
return Task(taskdata, self)

0 commit comments

Comments
 (0)