From 74ef1879526d5a70991b2a1d23c79ef854fd2e78 Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Sun, 3 Jan 2016 18:46:21 +0100 Subject: [PATCH 1/1] MorseDistanceModulator.py: be more precise in an error message --- src/savemysugar/MorseDistanceModulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/savemysugar/MorseDistanceModulator.py b/src/savemysugar/MorseDistanceModulator.py index 417c5f9..1f78382 100755 --- a/src/savemysugar/MorseDistanceModulator.py +++ b/src/savemysugar/MorseDistanceModulator.py @@ -34,7 +34,7 @@ class SymbolTime(object): assert multiplier >= 0 if (period_min == period_max) and (min_inter_symbol_distance == 0): raise ValueError("If (period_min == period_max) a non-zero", - "inter-symbol distance MUST be specified") + "min_inter_symbol_distance MUST be specified") symbol_distance = 2 * (period_max - period_min) if symbol_distance == 0: -- 2.1.4