resolver: use current folder instead of script folder to find user_data

This commit is contained in:
gcarq 2018-06-23 14:34:36 +02:00
parent df9015a7f1
commit 9c66c25890
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class StrategyResolver(object):
"""
current_path = os.path.dirname(os.path.realpath(__file__))
abs_paths = [
os.path.join(current_path, '..', '..', 'user_data', 'strategies'),
os.path.join(os.getcwd(), 'user_data', 'strategies'),
current_path,
]