typo fixes

changes to names
This commit is contained in:
Jonathan Raviotta 2019-09-03 23:30:32 -04:00
parent 8245da6bdc
commit 343e73e427

View File

@ -23,8 +23,6 @@ class StrategyResolver(IResolver):
This class contains all the logic to load custom strategy class This class contains all the logic to load custom strategy class
""" """
__slots__ = ['strategy']
def __init__(self, config: Optional[Dict] = None) -> None: def __init__(self, config: Optional[Dict] = None) -> None:
""" """
Load the custom class from config parameter Load the custom class from config parameter
@ -122,7 +120,8 @@ class StrategyResolver(IResolver):
current_path = Path(__file__).parent.parent.joinpath('strategy').resolve() current_path = Path(__file__).parent.parent.joinpath('strategy').resolve()
abs_paths = [ abs_paths = [
config['user_data_dir'].joinpath('strategies'), Path(config['user_data_dir']).joinpath('strategies'),
config['strategy_path'],
current_path, current_path,
] ]