Skip to content

Commit

Permalink
#469 fixed incorrect initialization of function
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolay-r committed May 17, 2023
1 parent dab4f69 commit 7ebdffd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arekit/common/opinions/annot/algo_based.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def __init__(self, annot_algo, create_empty_collection_func, get_doc_existed_opi

self.__annot_algo = annot_algo
self.__create_empty_collection_func = create_empty_collection_func
self.__get_existed_opinions_func = lambda _: None \
self.__get_existed_opinions_func = (lambda _: None) \
if get_doc_existed_opinions_func is None else get_doc_existed_opinions_func

# region private methods
Expand Down

0 comments on commit 7ebdffd

Please sign in to comment.