Skip to content

Commit

Permalink
fix cython header
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume De Saint Martin committed Dec 29, 2020
1 parent 0752530 commit 50c7c74
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions octobot_evaluators/evaluators/evaluator_factory.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ cdef str _get_cryptocurrency_name(object evaluator_class,
str cryptocurrency)
cdef list _get_cryptocurrencies_to_create(object evaluator_class,
dict crypto_currency_name_by_crypto_currencies)
cdef list _get_symbols_to_create(object evaluator_class,
cdef set _get_symbols_to_create(object evaluator_class,
dict symbols_by_crypto_currencies,
str cryptocurrency,
list symbols)
set symbols)
cdef list _get_time_frames_to_create(object evaluator_class,
list time_frames)

Expand Down
2 changes: 1 addition & 1 deletion octobot_evaluators/evaluators/evaluator_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def _get_symbols_to_create(evaluator_class, symbols_by_crypto_currencies, crypto
currency_symbols = symbols
if cryptocurrency is not None:
currency_symbols = symbols_by_crypto_currencies.get(cryptocurrency, [])
return currency_symbols if currency_symbols and not evaluator_class.get_is_symbol_wildcard() else [None]
return currency_symbols if currency_symbols and not evaluator_class.get_is_symbol_wildcard() else {None}


def _get_time_frames_to_create(evaluator_class, time_frames):
Expand Down

0 comments on commit 50c7c74

Please sign in to comment.