Skip to content
This repository was archived by the owner on Apr 30, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
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 quandl/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class Message:
ERROR_DATASETS_CODE_MUST_IN_LIST = 'dataset codes must be specified in a list'
ERROR_FOLDER_ISSUE = 'The folder path specified is incorrect or you do not have \
permission to access to the folder. Check your settings and try again.'
ERROR_INVALID_DATABASE_CODE_FROMAT = 'Invalid format used for Quandl database code. \
ERROR_INVALID_DATABASE_CODE_FORMAT = 'Invalid format used for Quandl database code. \
The correct format is: `DATABASE_CODE/DATASET_CODE`'
ERROR_INVALID_DATASET = 'Invalid dataset. Your data set must be specified as a string that \
contains a Quandl code or as a tuple with multiple Quandl codes'
Expand Down
2 changes: 1 addition & 1 deletion quandl/model/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, code, raw_data=None, **options):

parsed_code = self.code.split("/")
if len(parsed_code) < 2:
raise SyntaxError(Message.ERROR_INVALID_DATABASE_CODE_FROMAT)
raise SyntaxError(Message.ERROR_INVALID_DATABASE_CODE_FORMAT)

self.database_code = parsed_code[0]
self.dataset_code = parsed_code[1]
Expand Down