From 71246e184f4d4f6962556b15ed132f6edc2c6c7d Mon Sep 17 00:00:00 2001 From: David Runge Date: Sun, 29 May 2016 20:30:33 +0200 Subject: BowelyzerConfig.sc: Fixing typo and calling validateConfig twice. --- BowelyzerConfig.sc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BowelyzerConfig.sc b/BowelyzerConfig.sc index 9686c17..4af229d 100644 --- a/BowelyzerConfig.sc +++ b/BowelyzerConfig.sc @@ -68,7 +68,7 @@ BowelyzerConfig{ createDefaultConfig{ defaultControls = Dictionary.with(*[ "amplitudeAttackTime" -> 0.01, - "amplitudejReleaseTime" -> 0.1, + "amplitudeReleaseTime" -> 0.1, "hfHainsworth" -> 1.0, "hfFoote" -> 0.0, "hfThreshold" -> 0.3, @@ -115,7 +115,7 @@ BowelyzerConfig{ config.put(key,value); }); }); - this.validateConfig; + this.validateConfig; }{ ("Failed parsing the file: "++configFile).error; ("Make sure its JSON syntax is valid!").error; @@ -123,7 +123,6 @@ BowelyzerConfig{ }, { error("File not readable:"++configFile.asString); }); - this.validateConfig; } //check common mistakes in configuration and try fixing them @@ -226,4 +225,5 @@ BowelyzerConfig{ }; } + } -- cgit v1.2.3-70-g09d2