Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion monkeylearn/classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class Categories(SleepRequestsMixin, HandleErrorsMixin):

def __init__(self, token):
self.token = token
self.endpoint = CLASSIFICATION_ENDPOINT
self.endpoint = DEFAULT_BASE_ENDPOINT

def create(self, module_id, name, parent_id, sleep_if_throttled=True):
url = self.endpoint + module_id + '/categories/'
Expand Down