Merge pull request #2082 from freqtrade/fix/missintfstring

Fix/missintfstring
This commit is contained in:
Matthias 2019-08-02 10:27:10 +02:00 committed by GitHub
commit 86aa18efe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ def load_backtest_data(filename) -> pd.DataFrame:
filename = Path(filename) filename = Path(filename)
if not filename.is_file(): if not filename.is_file():
raise ValueError("File {filename} does not exist.") raise ValueError(f"File {filename} does not exist.")
with filename.open() as file: with filename.open() as file:
data = json_load(file) data = json_load(file)